# SliTaz package receipt. PACKAGE="busybox" VERSION="1.21.1" CATEGORY="base-system" SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.busybox.net/" WGET_URL="http://www.busybox.net/downloads/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="slitaz-base-files glibc-base ncurses-common" BUILD_DEPENDS="bzip2 pam pam-dev uclibc-cross-compiler-i486 \ musl-libc-dev dietlibc" CONFIG_FILES="/etc/dnsd.conf /etc/inetd.conf /etc/udhcpd.conf \ /etc/resolv.conf /etc/httpd.conf" AUFS_NOT_RAMFS="uclibc-cross-compiler-i486 is not compatible with aufs+tmpfs 8(" # Handle cross compilation case "$ARCH" in arm) BUILD_DEPENDS="bzip2" ;; esac # Busybox patches apply_bb_patchs() { cd $src while read file; do [ -f done.$file ] && continue echo "Apply $file..." patch -p1 < $stuff/$PACKAGE-${VERSION%.*}-$file || return 1 touch done.$file done <> $root/etc/daemons.conf echo 'DNSD_OPTIONS="-d"' >> $root/etc/daemons.conf echo '' >> $root/etc/daemons.conf fi if ! grep -q ^TFTPD_OPTIONS $root/etc/daemons.conf; then echo '# Tftp daemon options.' >> $root/etc/daemons.conf echo 'TFTPD_OPTIONS="-r /boot"' >> $root/etc/daemons.conf echo '' >> $root/etc/daemons.conf fi } pre_remove() { # We can not remove this package ! exit 1 }