2014-02-17 02:37:19 +11:00
|
|
|
# Description: Kernel module utilities and library
|
2022-07-03 16:55:36 +02:00
|
|
|
# URL: https://git.kernel.org/?p=utils/kernel/kmod/kmod.git
|
2015-01-04 13:07:00 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2014-02-17 02:37:19 +11:00
|
|
|
# Sepends on: kmod
|
|
|
|
|
|
|
|
name=kmod-32
|
2024-08-15 19:49:13 +02:00
|
|
|
version=33
|
2015-03-07 20:08:08 +11:00
|
|
|
release=1
|
2017-03-02 22:19:49 +11:00
|
|
|
source=(https://www.kernel.org/pub/linux/utils/kernel/${name%-*}/${name%-*}-$version.tar.xz)
|
2014-02-17 02:37:19 +11:00
|
|
|
|
|
|
|
build() {
|
2017-03-02 22:19:49 +11:00
|
|
|
cd ${name%-*}-$version
|
2014-02-17 02:37:19 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--bindir=/sbin \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-manpages \
|
|
|
|
--with-rootlibdir=/lib32
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/sbin $PKG/usr/{include,share}
|
|
|
|
}
|