wok-6.x view aufs-utils/receipt @ rev 15949

compton: avoid source tarball collisions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 23 12:17:31 2014 +0000 (2014-02-23)
parents 7896f0694ef6
children 7f39549720b8
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20130311"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://aufs.sourceforge.net/"
11 WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git"
12 BRANCH="origin/aufs3.0"
14 DEPENDS="aufs"
15 BUILD_DEPENDS="git linux-module-headers aufs"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
21 cd $src
22 sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c
23 sed -i 's/-m 644 -T/-m 644/' Makefile
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/sbin $fs
33 cp -a $install/usr/bin $fs/usr
34 }