wok-next annotate busybox-slish/receipt @ rev 19581
Up: glibc (--enable-obsolete-rpc), check, kbd, libpipeline (added), sysklogd (added). Extra up: busybox.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 29 07:31:53 2016 +0200 (2016-12-29) |
parents | cae46182492e |
children | 891185000a02 |
rev | line source |
---|---|
pankso@15798 | 1 # SliTaz package receipt. |
pankso@15798 | 2 |
pankso@15798 | 3 PACKAGE="busybox-slish" |
pascal@17836 | 4 VERSION="1.23.2" |
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" |
al@19581 | 10 WEB_SITE="http://www.busybox.net/" |
al@19581 | 11 |
pankso@15798 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
al@19581 | 13 WGET_URL="http://www.busybox.net/downloads/$TARBALL" |
pankso@15798 | 14 |
pankso@15798 | 15 # Rules to configure and make the package. |
pankso@15798 | 16 # |
al@19581 | 17 # I don't want to compile all BB packages just for a basic build! |
pankso@15798 | 18 # |
pankso@15798 | 19 compile_rules() { |
pankso@15798 | 20 cp $stuff/busybox-${VERSION%.*}.config .config |
al@19581 | 21 make oldconfig && |
pankso@15798 | 22 make && make install || return 1 |
pankso@15798 | 23 } |
pankso@15798 | 24 |
pankso@15798 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15798 | 26 genpkg_rules() |
pankso@15798 | 27 { |
pankso@15798 | 28 mkdir -p ${fs}/etc |
pankso@15798 | 29 cp -a ${src}/_install/* ${fs} |
pankso@15798 | 30 cp ${stuff}/busybox.conf ${fs}/etc/busybox.conf |
pankso@15798 | 31 # Set permissions |
pankso@15798 | 32 chown -R 0.0 ${fs}/etc |
al@19581 | 33 chmod 0600 ${fs}/etc/busybox.conf |
al@19581 | 34 chmod 4755 ${fs}/bin/busybox |
pankso@15798 | 35 } |