wok-6.x annotate busybox-slish/receipt @ rev 19661
Up openssl (1.0.2k)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 13:51:03 2017 +0200 (2017-01-28) |
parents | 30cc6214b5bd |
children | 3705d68ed8f3 |
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" |
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 } |