wok-next annotate busybox-slish/receipt @ rev 20705
busybox-slish: improve packaging
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 15:26:30 2018 +0300 (2018-05-26) |
parents | f7d9f142f79d |
children | d5aab818505e |
rev | line source |
---|---|
al@20705 | 1 # SliTaz package receipt v2. |
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" |
al@20705 | 7 SHORT_DESC="Busybox for SlisH basic chroot" |
pankso@15798 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@15798 | 9 LICENSE="GPL2" |
al@19581 | 10 WEB_SITE="http://www.busybox.net/" |
al@19581 | 11 |
pankso@15798 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
al@19581 | 13 WGET_URL="http://www.busybox.net/downloads/$TARBALL" |
pankso@15798 | 14 |
al@19581 | 15 # I don't want to compile all BB packages just for a basic build! |
pankso@15798 | 16 # |
pankso@15798 | 17 compile_rules() { |
pankso@15798 | 18 cp $stuff/busybox-${VERSION%.*}.config .config |
al@19581 | 19 make oldconfig && |
al@20705 | 20 make && |
al@20705 | 21 make install || return 1 |
al@20705 | 22 |
al@20705 | 23 install -Dm0600 $stuff/busybox.conf $install/etc/busybox.conf |
al@20705 | 24 cp -r $src/_install/* $install |
al@20705 | 25 chmod 4755 $install/bin/busybox |
pankso@15798 | 26 } |
pankso@15798 | 27 |
al@20705 | 28 genpkg_rules() { |
al@20705 | 29 copy @std |
pankso@15798 | 30 } |