wok-current annotate busybox-slish/receipt @ rev 16768

Add retty
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 18 21:54:06 2014 +0200 (2014-06-18)
parents a2ec263eccac
children 4a9f656c414b
rev   line source
pankso@15798 1 # SliTaz package receipt.
pankso@15798 2
pankso@15798 3 PACKAGE="busybox-slish"
pascal@15801 4 VERSION="1.22.1"
pankso@15798 5 SOURCE="busybox"
pankso@15798 6 CATEGORY="base-system"
pankso@15798 7 SHORT_DESC="Busybox for SlisH basic chroot."
pankso@15798 8 MAINTAINER="pankso@slitaz.org"
pankso@15798 9 LICENSE="GPL2"
pankso@15798 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@15798 11 WEB_SITE="http://www.busybox.net/"
pankso@15798 12
pankso@15798 13 # Rules to configure and make the package.
pankso@15798 14 #
pankso@15798 15 # I dont want to compile all BB packages just for a basic build!
pankso@15798 16 #
pankso@15798 17 compile_rules() {
pankso@15798 18 cp $stuff/busybox-${VERSION%.*}.config .config
pankso@15798 19 make oldconfig &&
pankso@15798 20 make && make install || return 1
pankso@15798 21 }
pankso@15798 22
pankso@15798 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15798 24 genpkg_rules()
pankso@15798 25 {
pankso@15798 26 mkdir -p ${fs}/etc
pankso@15798 27 cp -a ${src}/_install/* ${fs}
pankso@15798 28 cp ${stuff}/busybox.conf ${fs}/etc/busybox.conf
pankso@15798 29 # Set permissions
pankso@15798 30 chown -R 0.0 ${fs}/etc
pankso@15798 31 chmod 0600 ${fs}/etc/busybox.conf
pankso@15798 32 chmod 4755 ${fs}/bin/busybox
pankso@15798 33 }