blob: 155056904d5c801583dbed35ff3495713e3e68ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Roman Beslik <me@beroal.in.ua>
# Contributor: Henry Jensen <hjensen@delilinux.de>
pkgname=modutils
pkgver=2.4.27
pkgdesc="Work with the Linux kernel modules"
pkgrel=3
groups=('core')
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
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
mkdir "${pkgdir}/usr"
mkdir "${pkgdir}/usr/share"
mv "${pkgdir}/man" "${pkgdir}/usr/share"
}
|