wok-4.x view aufs-utils/receipt @ rev 6212
Up: pidgin, pidgin-dev, libpurple-dev to 2.7.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 11 10:43:38 2010 +0000 (2010-09-11) |
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 }