SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "busybox-slish"

# SliTaz package receipt.

PACKAGE="busybox-slish"
VERSION="1.23.2"
SOURCE="busybox"
CATEGORY="base-system"
SHORT_DESC="Busybox for SlisH basic chroot."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="https://busybox.net/"

# Rules to configure and make the package.
#
# I dont want to compile all BB packages just for a basic build!
#
compile_rules() {
    sed -i 's|uname -m|echo i486|' Makefile
    cp $stuff/busybox-${VERSION%.*}.config .config
    make oldconfig && 
    make && make install || return 1
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p ${fs}/etc
    cp -a ${src}/_install/* ${fs}
    cp ${stuff}/busybox.conf ${fs}/etc/busybox.conf
    # Set permissions
    chown -R 0.0 ${fs}/etc
    chmod 0600 ${fs}/etc/busybox.conf
    chmod 4755 ${fs}/bin/busybox
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)