wok annotate busybox-slish/receipt @ rev 21025

updated haproxy (1.4.24 -> 1.9.4)
author Hans-G?nter Theisgen
date Sun Mar 10 16:28:58 2019 +0100 (2019-03-10)
parents cae46182492e
children 73f36875e5a7
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() {
pascal@20212 18 sed -i 's|uname -m|echo i486|' Makefile
pankso@15798 19 cp $stuff/busybox-${VERSION%.*}.config .config
pankso@15798 20 make oldconfig &&
pankso@15798 21 make && make install || return 1
pankso@15798 22 }
pankso@15798 23
pankso@15798 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15798 25 genpkg_rules()
pankso@15798 26 {
pankso@15798 27 mkdir -p ${fs}/etc
pankso@15798 28 cp -a ${src}/_install/* ${fs}
pankso@15798 29 cp ${stuff}/busybox.conf ${fs}/etc/busybox.conf
pankso@15798 30 # Set permissions
pankso@15798 31 chown -R 0.0 ${fs}/etc
pankso@15798 32 chmod 0600 ${fs}/etc/busybox.conf
pankso@15798 33 chmod 4755 ${fs}/bin/busybox
pankso@15798 34 }