wok-next diff ssfs-busybox/receipt @ rev 10905

Add lxc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 21 12:00:26 2011 +0200 (2011-07-21)
parents
children 021cd71625d1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ssfs-busybox/receipt	Thu Jul 21 12:00:26 2011 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ssfs-busybox"
     1.7 +VERSION="1.18.4"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Busybox for Ssfs virtual disk minimal chroot."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +SOURCE="busybox"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.busybox.net/"
    1.14 +WGET_URL="http://www.busybox.net/downloads/$TARBALL"
    1.15 +
    1.16 +#
    1.17 +# NOTE: We Install files in Ssfs data directory to always have have ready to
    1.18 +# create chroot on the server and provide an easy way to update the vdisk.
    1.19 +# We dont do a static build, we need some shared lib in the chroot anyway.
    1.20 +# Busybox is configured to not use /usr and with a minimal set of applets.
    1.21 +#
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	rootfs=$DESTDIR/usr/share/ssfs/rootfs
    1.27 +	cd $src && cp $stuff/*.config .config
    1.28 +	make oldconfig && make busybox &&
    1.29 +	make CONFIG_PREFIX=$rootfs install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	rootfs=$fs/usr/share/ssfs/rootfs
    1.36 +	mkdir -p $rootfs/etc
    1.37 +	cp -a $install/* $fs
    1.38 +	cp $stuff/busybox.conf $rootfs/etc
    1.39 +	chown -R 0.0 $rootfs/etc
    1.40 +	chmod 0600 $rootfs/etc/busybox.conf
    1.41 +	chmod 4755 $rootfs/bin/busybox
    1.42 +}