wok-current view busybox-slish/receipt @ rev 16174

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