wok-current view aufs-utils/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents 220dcc13353f
children 779d82a07231
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/-m 644 -T/-m 644/' Makefile
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/sbin $fs
32 cp -a $install/usr/bin $fs/usr
33 }