wok view tazchroot/receipt @ rev 8008

Fix: ffmpeg need coreutils-file-special to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Jan 18 23:36:57 2011 +0100 (2011-01-18)
parents 5f24a1ad24f7
children d0c6a2d1c542
line source
1 # SliTaz package receipt.
3 PACKAGE="tazchroot"
4 VERSION="0.0.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Slitaz tool to manage chroot"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="libtaz"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 #WGET_URL="http://mirror.slitaz.org/sources/base-files/$TARBALL"
12 # using an hg URL because tarball is not avaible at this moment
13 WGET="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
14 TAGS="slitaz"
16 compile_rules()
17 {
18 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
19 tar xzf $SOURCES_REPOSITORY/$TARBALL
20 else
21 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
22 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
23 tar xzf $SOURCES_REPOSITORY/$TARBALL
24 fi
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/etc/slitaz \
31 $fs/var/lib/tazchroot
32 cp -a $src/tazchroot $fs/usr/bin
33 chmod 755 $fs/usr/bin/tazchroot
34 cp -a $src/tazchroot.conf $fs/etc/slitaz
35 cp -a $src/scripts/* $fs/var/lib/tazchroot
36 }