wok-next annotate aufs-utils/receipt @ rev 12270
Up: mpc-library (0.9)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 12 18:42:31 2012 +0200 (2012-04-12) |
parents | 7db554e81f0b |
children | 5f5b3ccf6376 |
rev | line source |
---|---|
pankso@4309 | 1 # SliTaz package receipt. |
pankso@4309 | 2 |
pankso@4309 | 3 PACKAGE="aufs-utils" |
gokhlayeh@8584 | 4 VERSION="20110214" |
pankso@4309 | 5 CATEGORY="system-tools" |
pankso@4309 | 6 SHORT_DESC="The aufs utils." |
pankso@4309 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@9814 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4309 | 9 WEB_SITE="http://aufs.sourceforge.net/" |
gokhlayeh@8546 | 10 WGET_URL="git|http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git" |
gokhlayeh@8584 | 11 BRANCH="origin/aufs2.1" |
pankso@9814 | 12 |
pankso@9814 | 13 DEPENDS="aufs" |
pascal@10449 | 14 BUILD_DEPENDS="git linux-module-headers aufs" |
pankso@9814 | 15 |
pankso@4309 | 16 # Rules to configure and make the package. |
pankso@4309 | 17 compile_rules() |
pankso@4309 | 18 { |
gokhlayeh@8546 | 19 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
pankso@4309 | 20 cd $src |
pascal@5065 | 21 sed -i 's/-m 644 -T/-m 644/' Makefile |
slaxemulator@8144 | 22 make && |
slaxemulator@8144 | 23 make DESTDIR=$PWD/_pkg install |
pankso@4309 | 24 } |
pankso@4309 | 25 |
pankso@4309 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4309 | 27 genpkg_rules() |
pankso@4309 | 28 { |
pankso@4309 | 29 mkdir -p $fs/usr |
pankso@4309 | 30 cp -a $_pkg/sbin $fs |
pankso@4309 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@4309 | 32 } |
slaxemulator@6717 | 33 |