wok view aufs-utils/receipt @ rev 8308

Fixed post_remove in 3rd party kernel modules.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 01 00:17:12 2011 +0000 (2011-02-01)
parents 2220c576fa76
children ef4bf2fff7b9
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20110124"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="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.lzma
17 if [ -f $TARBALL ]; then
18 unlzma -c $TARBALL | tar xf -
19 cd $src && git checkout origin/aufs2.1
20 else
21 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git $PACKAGE-$VERSION
22 tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si
23 cd $src && git checkout origin/aufs2.1
24 fi
26 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
27 cd $src
28 sed -i 's/-m 644 -T/-m 644/' Makefile
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $_pkg/sbin $fs
38 cp -a $_pkg/usr/bin $fs/usr
39 }