wok view busybox-slish/receipt @ rev 25600
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 15:14:43 2023 +0000 (16 months ago) |
parents | 3705d68ed8f3 |
children |
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 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://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 sed -i 's|uname -m|echo i486|' Makefile
19 cp $stuff/busybox-${VERSION%.*}.config .config
20 make oldconfig &&
21 make && make install || return 1
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p ${fs}/etc
28 cp -a ${src}/_install/* ${fs}
29 cp ${stuff}/busybox.conf ${fs}/etc/busybox.conf
30 # Set permissions
31 chown -R 0.0 ${fs}/etc
32 chmod 0600 ${fs}/etc/busybox.conf
33 chmod 4755 ${fs}/bin/busybox
34 }