wok view busybox/receipt @ rev 300
Add: get-skype
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 29 22:36:24 2008 +0000 (2008-02-29) |
parents | 4b37234fc0be |
children | 463b0b8fa55c |
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox"
4 VERSION="1.7.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="slitaz-base-files"
9 BUILD_DEPENDS="bzip2"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.busybox.net/"
12 WGET_URL="http://www.busybox.net/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 patch -p0 < stuff/$PACKAGE-$VERSION-hexdump.u
18 patch -p0 < stuff/$PACKAGE-$VERSION-df.u
19 patch -p0 < stuff/$PACKAGE-$VERSION-patch.u
20 patch -p0 < stuff/$PACKAGE-$VERSION-script.u
21 cp stuff/$PACKAGE-$VERSION.config $PACKAGE-$VERSION/.config
22 cd $PACKAGE-$VERSION
23 make oldconfig
24 make && make install
25 echo "Chmod 4755 on busybox binary..."
26 chmod 4755 _install/bin/busybox
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $src/_install/* $fs
33 mkdir $fs/etc
34 # Busybox config file.
35 cp stuff/busybox.conf $fs/etc
36 chmod 600 $fs/etc/busybox.conf
37 cd $fs
38 rm linuxrc
39 ln -s bin/busybox init
40 cd $WOK/$PACKAGE
41 # Udhcpc stuff.
42 mkdir -p $fs/usr/share/udhcpc
43 cp $src/examples/udhcp/simple.script \
44 $fs/usr/share/udhcpc/default.script
45 chmod +x $fs/usr/share/udhcpc/default.script
46 }