wok-next annotate aufs-utils/receipt @ rev 5035

Up:mplayer-svn;improve compile_options; reduce deps and size
author Rohit Joshi <jozee@slitaz.org>
date Wed Mar 03 11:21:08 2010 +0000 (2010-03-03)
parents a13008a385ae
children a870d7a5977e
rev   line source
pankso@4309 1 # SliTaz package receipt.
pankso@4309 2
pankso@4309 3 PACKAGE="aufs-utils"
pankso@4309 4 VERSION="20090928"
pankso@4309 5 CATEGORY="system-tools"
pankso@4309 6 SHORT_DESC="The aufs utils."
pankso@4309 7 MAINTAINER="pankso@slitaz.org"
pankso@4309 8 DEPENDS="linux-aufs"
pankso@4309 9 WEB_SITE="http://aufs.sourceforge.net/"
pankso@4309 10
pankso@4309 11 # Rules to configure and make the package.
pankso@4309 12 compile_rules()
pankso@4309 13 {
pankso@4309 14 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pankso@4309 15 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \
pankso@4309 16 $PACKAGE-$VERSION
pascal@4312 17 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
pascal@4312 18 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
pascal@4312 19 tazwok cook linux
pascal@4312 20 fi
pankso@4309 21 cd $src
pascal@4312 22 make KDIR=$WOK/linux/linux-$KERNEL_VERSION && make DESTDIR=$PWD/_pkg install
pankso@4309 23 }
pankso@4309 24
pankso@4309 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4309 26 genpkg_rules()
pankso@4309 27 {
pankso@4309 28 mkdir -p $fs/usr
pankso@4309 29 cp -a $_pkg/sbin $fs
pankso@4309 30 cp -a $_pkg/usr/bin $fs/usr
pankso@4309 31 }