wok view ssfs-busybox/receipt @ rev 10950

get-virtualbox: only /opt/VirtualBox is supported now...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 14:26:45 2011 +0200 (2011-09-02)
parents
children 021cd71625d1
line source
1 # SliTaz package receipt.
3 PACKAGE="ssfs-busybox"
4 VERSION="1.18.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox for Ssfs virtual disk minimal chroot."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="busybox"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.busybox.net/"
11 WGET_URL="http://www.busybox.net/downloads/$TARBALL"
13 #
14 # NOTE: We Install files in Ssfs data directory to always have have ready to
15 # create chroot on the server and provide an easy way to update the vdisk.
16 # We dont do a static build, we need some shared lib in the chroot anyway.
17 # Busybox is configured to not use /usr and with a minimal set of applets.
18 #
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 rootfs=$DESTDIR/usr/share/ssfs/rootfs
24 cd $src && cp $stuff/*.config .config
25 make oldconfig && make busybox &&
26 make CONFIG_PREFIX=$rootfs install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 rootfs=$fs/usr/share/ssfs/rootfs
33 mkdir -p $rootfs/etc
34 cp -a $install/* $fs
35 cp $stuff/busybox.conf $rootfs/etc
36 chown -R 0.0 $rootfs/etc
37 chmod 0600 $rootfs/etc/busybox.conf
38 chmod 4755 $rootfs/bin/busybox
39 }