blob: 40f09a28f72b0725958bd6b3373da7f51e5b3415 (
plain)
1 # Description: Kernel module utilities and library
2 # URL: https://git.kernel.org/?p=utils/kernel/kmod/kmod.git
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Sepends on: kmod
5
6 name=kmod-32
7 version=30
8 release=1
9 source=(https://www.kernel.org/pub/linux/utils/kernel/${name%-*}/${name%-*}-$version.tar.xz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/usr/lib32 \
17 --bindir=/sbin \
18 --sysconfdir=/etc \
19 --disable-manpages \
20 --with-rootlibdir=/lib32
21
22 make
23 make DESTDIR=$PKG install
24
25 rm -r $PKG/sbin $PKG/usr/{include,share}
26 }
|