wok-next diff module-init-tools/receipt @ rev 20011

cairo-dock: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:36:22 2017 +0200 (2017-10-21)
parents 9e01bc6321ea
children 4396aed7eb01
line diff
     1.1 --- a/module-init-tools/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/module-init-tools/receipt	Sat Oct 21 18:36:22 2017 +0200
     1.3 @@ -6,8 +6,9 @@
     1.4  SHORT_DESC="Kernel modules manipulation tools."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/"
     1.8 +
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/"
    1.11  WGET_URL="${WEB_SITE}$TARBALL"
    1.12  
    1.13  DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod"
    1.14 @@ -29,8 +30,11 @@
    1.15  	# Don't generate manpages to avoid failure.
    1.16  	echo '.so man5/modprobe.conf.5' > modprobe.d.5
    1.17  
    1.18 -	./configure --enable-zlib \
    1.19 -	--sbindir=/sbin --bindir=/bin --sysconfdir=/etc \
    1.20 +	./configure \
    1.21 +		--enable-zlib \
    1.22 +		--sbindir=/sbin \
    1.23 +		--bindir=/bin \
    1.24 +		--sysconfdir=/etc \
    1.25  	$CONFIGURE_ARGS &&
    1.26  	make &&	make install
    1.27  }
    1.28 @@ -59,13 +63,3 @@
    1.29  	# BusyBox puts lsmod in /sbin, not /bin
    1.30  	rm -f "$1/sbin/lsmod"
    1.31  }
    1.32 -
    1.33 -post_remove()
    1.34 -{
    1.35 -	ln -s /bin/busybox "$1/sbin/insmod"
    1.36 -	ln -s /bin/busybox "$1/sbin/modinfo"
    1.37 -	ln -s /bin/busybox "$1/sbin/modprobe"
    1.38 -	ln -s /bin/busybox "$1/sbin/rmmod"
    1.39 -	# BusyBox puts lsmod in /sbin, not /bin
    1.40 -	ln -s /bin/busybox "$1/sbin/lsmod"
    1.41 -}