wok-6.x diff module-init-tools/receipt @ rev 10056
xorg-xrdb: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 04:39:17 2011 +0000 (2011-05-20) |
parents | 02bbaa9d12ba |
children | 6d21eea8cdc5 |
line diff
1.1 --- a/module-init-tools/receipt Mon Apr 04 01:29:52 2011 +0200 1.2 +++ b/module-init-tools/receipt Fri May 20 04:39:17 2011 +0000 1.3 @@ -21,19 +21,17 @@ 1.4 continue 1.5 fi 1.6 echo "Apply $patch_file.u" 1.7 - patch -p1 < ../stuff/$patch_file.u || return 1 1.8 + patch -p1 < $stuff/$patch_file.u || return 1 1.9 touch done.$patch_file 1.10 done 1.11 1.12 # Don't generate manpages to avoid failure. 1.13 echo '.so man5/modprobe.conf.5' > modprobe.d.5 1.14 1.15 - ./configure --enable-zlib --prefix=/usr \ 1.16 - --sbindir=/sbin --bindir=/bin --sysconfdir=/etc \ 1.17 - --infodir=/usr/share/info --mandir=/usr/share/man \ 1.18 - $CONFIGURE_ARGS && 1.19 + ./configure --enable-zlib \ 1.20 + --sbindir=/sbin --bindir=/bin --sysconfdir=/etc && 1.21 make && 1.22 - make DESTDIR=$PWD/_pkg install 1.23 + make install 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 @@ -63,10 +61,10 @@ 1.28 1.29 post_remove() 1.30 { 1.31 - ln -s /bin/busybox /sbin/insmod 1.32 - ln -s /bin/busybox /sbin/modinfo 1.33 - ln -s /bin/busybox /sbin/modprobe 1.34 - ln -s /bin/busybox /sbin/rmmod 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 /sbin/lsmod 1.41 + ln -s /bin/busybox $1/sbin/lsmod 1.42 }