wok-6.x view busybox-static/receipt @ rev 5393
Up: irssi (0.8.15)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 02 02:43:33 2010 +0000 (2010-05-02) |
parents | 81e8704dacde |
children | d58109531bed |
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-static"
4 VERSION="1.12.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="bzip2"
10 SOURCE="busybox"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.busybox.net/"
13 WGET_URL="http://www.busybox.net/downloads/$TARBALL"
14 CONFIG_FILES=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 while read file; do
21 [ -f done.$file ] && continue
22 echo "Apply $file..."
23 patch -p1 < $WOK/$SOURCE/stuff/$SOURCE-$VERSION-$file || return 1
24 touch done.$file
25 done <<EOT
26 vcsa2txt.u
27 dhcpc.u
28 cpio-mkdir.u
29 tar.u
30 stat.u
31 zmodules.u
32 modinfo.u
33 modprobe.u
34 paths.u
35 mkswap.u
36 install.u
37 basename.u
38 unlzma.u
39 replay.u
40 ris.u
41 dpkg_deb.u
42 ionice.u
43 syslogd.u
44 iptunnel.u
45 rpm2cpio.u
46 EOT
47 cp ../stuff/$SOURCE-$VERSION.config .config
48 make oldconfig
49 make && make install
50 echo "Chmod 4755 on busybox binary..."
51 chmod 4755 _install/bin/busybox
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/share/boot
58 cp -a $src/_install/bin/busybox $fs/usr/share/boot/busybox-static
59 }