wok-6.x annotate aufs-utils/receipt @ rev 5065
aufs-utils: fix install args
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 11 17:25:44 2010 +0100 (2010-03-11) |
parents | 08a89bfa3890 |
children | 967fe94776a2 |
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@5065 | 22 sed -i 's/-m 644 -T/-m 644/' Makefile |
pascal@4312 | 23 make KDIR=$WOK/linux/linux-$KERNEL_VERSION && make DESTDIR=$PWD/_pkg install |
pankso@4309 | 24 } |
pankso@4309 | 25 |
pankso@4309 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4309 | 27 genpkg_rules() |
pankso@4309 | 28 { |
pankso@4309 | 29 mkdir -p $fs/usr |
pankso@4309 | 30 cp -a $_pkg/sbin $fs |
pankso@4309 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@4309 | 32 } |