wok view busybox-static/receipt @ rev 16522

Add raspberrypi-vc, raspberrypi-boot, raspberrypi-boot-x (full PiCam support and track bootloader file for easy update)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 02:04:47 2014 +0200 (2014-04-26)
parents e30c03f14110
children 4a9f656c414b
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-static"
4 VERSION="1.22.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS=""
10 WANTED="busybox"
11 WEB_SITE="http://www.busybox.net/"
12 CONFIG_FILES=""
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share/boot
18 CHOICE=static
19 for i in uclibc musl diet ; do
20 [ -x $src/busybox-$i ] || continue
21 [ $(stat -c %s $src/busybox-$i) -lt \
22 $(stat -c %s $src/busybox-$CHOICE) ] &&
23 CHOICE=$i
24 done
25 cp -a $src/busybox-$CHOICE $fs/usr/share/boot/busybox-static
26 }
28 post_install()
29 {
30 chmod 4755 $1/usr/share/boot/busybox-static
31 }