wok view aufs-utils/receipt @ rev 7079
Fixed snort and libdaq to uncompress TARBALL as tar.gz instead of tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 02 17:58:41 2010 +0000 (2010-11-02) |
parents | 07b433a23a44 |
children | 35a10ca4f67b |
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20101014"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-aufs"
9 BUILD_DEPENDS="git linux-module-headers"
10 WEB_SITE="http://aufs.sourceforge.net/"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
16 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
17 if [ -f $TARBALL ]; then
18 tar xzf $TARBALL
19 else
20 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git $PACKAGE-$VERSION
21 tar czf $TARBALL $PACKAGE-$VERSION
22 fi
24 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
25 cd $src
26 patch -p1 -R < $WOK/$PACKAGE/stuff/fix-kdir.patch
27 sed -i 's/-m 644 -T/-m 644/' Makefile
28 make KDIR=/usr/src/linux &&
29 make KDIR=/usr/src/linux DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/sbin $fs
37 cp -a $_pkg/usr/bin $fs/usr
38 }