wok-4.x view aufs-utils/receipt @ rev 5724

libsctp-dev: fix category
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 24 17:23:34 2010 +0200 (2010-06-24)
parents 08a89bfa3890
children 967fe94776a2
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 && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/sbin $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 }