wok-next diff busybox/receipt @ rev 13
Up : iptables (1.3.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 11:52:40 2007 +0100 (2007-12-18) |
parents | |
children | ad2f590c9c94 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/busybox/receipt Tue Dec 18 11:52:40 2007 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="busybox" 1.7 +VERSION="1.7.3" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="base-files" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.busybox.net/" 1.14 +WGET_URL="http://www.busybox.net/downloads/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cp stuff/$PACKAGE-$VERSION.config $PACKAGE-$VERSION/.config 1.20 + cd $PACKAGE-$VERSION 1.21 + make oldconfig 1.22 + make && make install 1.23 + echo "Chmod 4755 on busybox binary..." 1.24 + chmod 4755 _install/bin/busybox 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $src/_install/* $fs 1.31 + mkdir $fs/etc 1.32 + # Busybox config file. 1.33 + cp stuff/busybox.conf $fs/etc 1.34 + chmod 600 $fs/etc/busybox.conf 1.35 + cd $fs 1.36 + rm linuxrc 1.37 + ln -s bin/busybox init 1.38 + cd $WOK/$PACKAGE 1.39 + # Udhcpc stuff. 1.40 + mkdir -p $fs/usr/share/udhcpc 1.41 + cp $src/examples/udhcp/simple.script \ 1.42 + $fs/usr/share/udhcpc/default.script 1.43 + chmod +x $fs/usr/share/udhcpc/default.script 1.44 +}