wok view aufs-utils/receipt @ rev 6109

fox, fox14, glew, libqwt5-qt4, normalize, nut, ophcrack, scribus: fix build_depends (no virtual packages)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 04 12:47:38 2010 +0200 (2010-09-04)
parents a870d7a5977e
children ce1a465271d9
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20090928"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-aufs"
9 WEB_SITE="http://aufs.sourceforge.net/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
15 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \
16 $PACKAGE-$VERSION
17 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
18 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
19 tazwok cook linux
20 fi
21 cd $src
22 sed -i 's/-m 644 -T/-m 644/' Makefile
23 make KDIR=$WOK/linux/linux-$KERNEL_VERSION &&
24 make KDIR=$WOK/linux/linux-$KERNEL_VERSION DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/sbin $fs
32 cp -a $_pkg/usr/bin $fs/usr
33 }