diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-07 20:32:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-07 20:32:22 +0000 |
commit | 9db4181f326078930629b8fe561b13cf75839838 (patch) | |
tree | b9e64ad7f5d8763c0a433f9ab6fdc59435aacb42 /core | |
parent | 5fc599349b2b4bad6ed3242277a20e359d39b1fd (diff) | |
download | aports-9db4181f326078930629b8fe561b13cf75839838.tar.bz2 aports-9db4181f326078930629b8fe561b13cf75839838.tar.xz |
core/module-init-tools: new aport
Diffstat (limited to 'core')
-rw-r--r-- | core/module-init-tools/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/module-init-tools/APKBUILD b/core/module-init-tools/APKBUILD new file mode 100644 index 000000000..d65074fbd --- /dev/null +++ b/core/module-init-tools/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanel Copa <ncopa@alpinelinux.org> +pkgname=module-init-tools +pkgver=3.4 +pkgrel=1 +pkgdesc="Utilities for inserting and removing modules from the Linux kernel" +url="http://www.kernel.org" +license='GPL' +depends='uclibc' +source="http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2" + +build() { + cd "$srcdir/$pkgname-$pkgver" +# patch -Np1 -i ../makefile.patch +# patch -Np0 -i ../fix-modprobe-ignore-path.patch || return 1 +# sed -i 's|/usr/bin/install|/bin/install|g' install-with-care + ./configure --prefix=/usr --exec-prefix=/ + make DOCBOOKTOMAN=: || return 1 + make DESTDIR="$pkgdir" INSTALL=install install || return 1 + + # remove empty manpages. + rm -r "$pkgdir/usr" +} + +md5sums="db6ac059e80e8dd4389dbe81ee61f3c6 module-init-tools-3.4.tar.bz2" |