summaryrefslogtreecommitdiff
path: root/pcr-multilib/lib32-kmod
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-03-28 19:27:00 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-03-28 19:27:00 -0300
commitc30c847dd097fefdd45a83a3e0485469d31856f6 (patch)
tree0d9c4fea39197e911080e712473f0caf8887a5d1 /pcr-multilib/lib32-kmod
parent274ac753d419a7b04a0aa2009257b4c60950a8bb (diff)
downloadabslibre-c30c847dd097fefdd45a83a3e0485469d31856f6.tar.gz
abslibre-c30c847dd097fefdd45a83a3e0485469d31856f6.tar.bz2
abslibre-c30c847dd097fefdd45a83a3e0485469d31856f6.zip
move libre{,-multilib}-testing/lib32-glibc and pcr{,-multilib}/lib32-* packages
Diffstat (limited to 'pcr-multilib/lib32-kmod')
-rw-r--r--pcr-multilib/lib32-kmod/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr-multilib/lib32-kmod/PKGBUILD b/pcr-multilib/lib32-kmod/PKGBUILD
new file mode 100644
index 000000000..b2fe4b702
--- /dev/null
+++ b/pcr-multilib/lib32-kmod/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer (Arch): Jesse Jaara <gmail.com: jesse.jaara>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=lib32-kmod
+pkgver=22
+pkgrel=1
+pkgdesc="Linux kernel module handling"
+arch=('x86_64')
+url="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary"
+license=('GPL2')
+depends=('lib32-zlib' 'lib32-xz')
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-$pkgver.tar.xz")
+md5sums=('4371b847f3fbfaa4e9aa890ad616748f')
+
+build() {
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/kmod-${pkgver}"
+
+ ./configure \
+ --libdir=/usr/lib32 \
+ --sysconfdir=/etc \
+ --disable-tools \
+ --with-zlib \
+ --with-xz
+
+ make
+}
+
+package() {
+ cd "${srcdir}/kmod-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ # nuke manpages and headers
+ rm -rf "${pkgdir}"/usr/{share,include,bin}
+}
+
+