blob: bda6fae37d502e7fa790a1856e611c094cf3be94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
name: kmod
kind: chunk
configure-commands:
- |
./bootstrap-configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var \
--bindir="$PREFIX"/bin --libdir="$PREFIX"/lib \
--without-xz --with-zlib \
--disable-manpages --enable-python
build-commands:
- make
install-commands:
- make DESTDIR="$DESTDIR" pkgconfigdir="$PREFIX"/lib/pkgconfig install
post-install-commands:
- ln -s kmod "$DESTDIR/$PREFIX"/bin/modprobe
- ln -s kmod "$DESTDIR/$PREFIX"/bin/lsmod
- ln -s kmod "$DESTDIR/$PREFIX"/bin/rmmod
- ln -s kmod "$DESTDIR/$PREFIX"/bin/insmod
- ln -s kmod "$DESTDIR/$PREFIX"/bin/modinfo
- ln -s kmod "$DESTDIR/$PREFIX"/bin/depmod
|