wok-next view busybox-slish/receipt @ rev 20037

Up sshttp (0-35s2), sshguard (2.0.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 18:48:45 2017 +0200 (2017-10-22)
parents cae46182492e
children 891185000a02
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-slish"
4 VERSION="1.23.2"
5 SOURCE="busybox"
6 CATEGORY="base-system"
7 SHORT_DESC="Busybox for SlisH basic chroot."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.busybox.net/"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="http://www.busybox.net/downloads/$TARBALL"
15 # Rules to configure and make the package.
16 #
17 # I don't want to compile all BB packages just for a basic build!
18 #
19 compile_rules() {
20 cp $stuff/busybox-${VERSION%.*}.config .config
21 make oldconfig &&
22 make && make install || return 1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p ${fs}/etc
29 cp -a ${src}/_install/* ${fs}
30 cp ${stuff}/busybox.conf ${fs}/etc/busybox.conf
31 # Set permissions
32 chown -R 0.0 ${fs}/etc
33 chmod 0600 ${fs}/etc/busybox.conf
34 chmod 4755 ${fs}/bin/busybox
35 }