wok-current annotate busybox-static/receipt @ rev 16543
slitaz-configs: up (5.4.2) - fix locale issue
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 29 10:35:32 2014 +0000 (2014-04-29) |
parents | e30c03f14110 |
children | 4a9f656c414b |
rev | line source |
---|---|
pascal@5066 | 1 # SliTaz package receipt. |
pascal@5066 | 2 |
pascal@5066 | 3 PACKAGE="busybox-static" |
pascal@15801 | 4 VERSION="1.22.1" |
pascal@5066 | 5 CATEGORY="base-system" |
pascal@5066 | 6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities." |
pascal@5066 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
pascal@5066 | 9 DEPENDS="" |
pascal@7276 | 10 WANTED="busybox" |
pascal@5066 | 11 WEB_SITE="http://www.busybox.net/" |
pascal@5066 | 12 CONFIG_FILES="" |
pascal@5066 | 13 |
pascal@5066 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5066 | 15 genpkg_rules() |
pascal@5066 | 16 { |
pascal@14750 | 17 mkdir -p $fs/usr/share/boot |
pascal@14750 | 18 CHOICE=static |
pascal@14750 | 19 for i in uclibc musl diet ; do |
pascal@14750 | 20 [ -x $src/busybox-$i ] || continue |
pascal@14750 | 21 [ $(stat -c %s $src/busybox-$i) -lt \ |
pascal@14750 | 22 $(stat -c %s $src/busybox-$CHOICE) ] && |
pascal@14750 | 23 CHOICE=$i |
pascal@14750 | 24 done |
pascal@14750 | 25 cp -a $src/busybox-$CHOICE $fs/usr/share/boot/busybox-static |
pascal@5066 | 26 } |
pascal@7755 | 27 |
pascal@7755 | 28 post_install() |
pascal@7755 | 29 { |
pascal@7755 | 30 chmod 4755 $1/usr/share/boot/busybox-static |
pascal@7755 | 31 } |