wok-current annotate busybox-static/receipt @ rev 5614

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