wok-6.x annotate aufs-utils/receipt @ rev 13775
Up slitaz-tools (5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 03 15:11:11 2013 +0100 (2013-01-03) |
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 |