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

Fix devede menu icon.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 11 13:07:52 2010 +0000 (2010-10-11)
parents 967fe94776a2
children 938f73ef864a
rev   line source
pankso@4309 1 # SliTaz package receipt.
pankso@4309 2
pankso@4309 3 PACKAGE="aufs-utils"
slaxemulator@6293 4 VERSION="20100916"
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"
slaxemulator@6293 9 BUILD_DEPENDS="git"
pankso@4309 10 WEB_SITE="http://aufs.sourceforge.net/"
pankso@4309 11
pankso@4309 12 # Rules to configure and make the package.
pankso@4309 13 compile_rules()
pankso@4309 14 {
pankso@4309 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pankso@4309 16 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \
pankso@4309 17 $PACKAGE-$VERSION
pascal@4312 18 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
pascal@4312 19 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
pascal@4312 20 tazwok cook linux
pascal@4312 21 fi
pankso@4309 22 cd $src
pascal@5065 23 sed -i 's/-m 644 -T/-m 644/' Makefile
pascal@5851 24 make KDIR=$WOK/linux/linux-$KERNEL_VERSION &&
pascal@5851 25 make KDIR=$WOK/linux/linux-$KERNEL_VERSION DESTDIR=$PWD/_pkg install
pankso@4309 26 }
pankso@4309 27
pankso@4309 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4309 29 genpkg_rules()
pankso@4309 30 {
pankso@4309 31 mkdir -p $fs/usr
pankso@4309 32 cp -a $_pkg/sbin $fs
pankso@4309 33 cp -a $_pkg/usr/bin $fs/usr
pankso@4309 34 }