wok-next annotate aufs-utils/receipt @ rev 5906
Up libiec61883-dev (1.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 26 13:40:17 2010 +0200 (2010-07-26) |
parents | a870d7a5977e |
children | ce1a465271d9 |
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@5851 | 23 make KDIR=$WOK/linux/linux-$KERNEL_VERSION && |
pascal@5851 | 24 make KDIR=$WOK/linux/linux-$KERNEL_VERSION DESTDIR=$PWD/_pkg install |
pankso@4309 | 25 } |
pankso@4309 | 26 |
pankso@4309 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4309 | 28 genpkg_rules() |
pankso@4309 | 29 { |
pankso@4309 | 30 mkdir -p $fs/usr |
pankso@4309 | 31 cp -a $_pkg/sbin $fs |
pankso@4309 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@4309 | 33 } |