wok-4.x annotate busybox-static/receipt @ rev 5687
Up busybox-static (1.16.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 04 17:44:39 2010 +0200 (2010-06-04) |
parents | 89fb9bf81636 |
children | f018edfba693 |
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@5687 | 27 ftpd.u |
pascal@5066 | 28 cpio-mkdir.u |
pascal@5066 | 29 tar.u |
pascal@5066 | 30 stat.u |
pascal@5066 | 31 ris.u |
pascal@5066 | 32 dpkg_deb.u |
pascal@5066 | 33 syslogd.u |
pascal@5687 | 34 modinfo.u |
pascal@5687 | 35 zmodules.u |
pascal@5066 | 36 EOT |
pascal@5066 | 37 cp ../stuff/$SOURCE-$VERSION.config .config |
pascal@5066 | 38 make oldconfig |
pascal@5066 | 39 make && make install |
pascal@5066 | 40 echo "Chmod 4755 on busybox binary..." |
pascal@5066 | 41 chmod 4755 _install/bin/busybox |
pascal@5066 | 42 } |
pascal@5066 | 43 |
pascal@5066 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5066 | 45 genpkg_rules() |
pascal@5066 | 46 { |
pascal@5073 | 47 mkdir -p $fs/usr/share/boot |
pascal@5068 | 48 cp -a $src/_install/bin/busybox $fs/usr/share/boot/busybox-static |
pascal@5066 | 49 } |