diff options
author | Roman Beslik | 2015-07-03 17:34:49 +0300 |
---|---|---|
committer | Roman Beslik | 2015-07-03 17:34:49 +0300 |
commit | d661e4a77d0bded86af6c22507f0f75025a4f3d0 (patch) | |
tree | 43d5e29eb4eed0573840775850111a817ed7a18a | |
download | aur-d661e4a77d0bded86af6c22507f0f75025a4f3d0.tar.gz |
init
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..538ba7c4bb0d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = modutils + pkgdesc = modutils + pkgver = 2.4.27 + pkgrel = 2 + url = http://www.kernel.org/ + arch = i686 + arch = x86_64 + groups = core + license = GPL + makedepends = gcc>=4 + makedepends = binutils + makedepends = bison + makedepends = flex + depends = glibc + conflicts = module-init-tools + source = http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-2.4.27.tar.gz + source = http://englanders.cc/pub/linux/patches/notmine/modutils-gcc40.patch + md5sums = 51aa91627a2803df5873beae59d2f785 + md5sums = 05191fe3364ad37c4519b249c97ac76d + +pkgname = modutils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f8c03231fb3f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# Description: modutils +# Maintainer: Henry Jensen <hjensen@delilinux.de> + +pkgdesc="modutils" +pkgname=modutils +pkgver=2.4.27 +pkgrel=2 +groups=('core') +depends=('glibc') +makedepends=("gcc>=4" "binutils" "bison" "flex") +arch=("i686" "x86_64") +license=("GPL") +conflicts=("module-init-tools") +url="http://www.kernel.org/" + +source=("http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.4/$pkgname-$pkgver.tar.gz" "http://englanders.cc/pub/linux/patches/notmine/modutils-gcc40.patch") +md5sums=('51aa91627a2803df5873beae59d2f785' '05191fe3364ad37c4519b249c97ac76d') + +build() { + cd ${srcdir}/$pkgname-$pkgver + patch -p1 < ../modutils-gcc40.patch + ./configure --prefix=/ --enable-zlib + make + make DESTDIR="${pkgdir}" install + mkdir "${pkgdir}/usr" + mkdir "${pkgdir}/usr/share" + mv "${pkgdir}/man" "${pkgdir}/usr/share" + } |