wok annotate aufs-utils/receipt @ rev 8525
Fix: remove src definition from libwrap
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 04:26:59 2011 +0100 (2011-02-13) |
parents | 2220c576fa76 |
children | ef4bf2fff7b9 |
rev | line source |
---|---|
pankso@4309 | 1 # SliTaz package receipt. |
pankso@4309 | 2 |
pankso@4309 | 3 PACKAGE="aufs-utils" |
slaxemulator@8139 | 4 VERSION="20110124" |
pankso@4309 | 5 CATEGORY="system-tools" |
pankso@4309 | 6 SHORT_DESC="The aufs utils." |
pankso@4309 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@7297 | 8 DEPENDS="aufs" |
slaxemulator@6711 | 9 BUILD_DEPENDS="git linux-module-headers" |
pankso@4309 | 10 WEB_SITE="http://aufs.sourceforge.net/" |
pankso@4309 | 11 |
pankso@4309 | 12 # Rules to configure and make the package. |
pankso@4309 | 13 compile_rules() |
pankso@4309 | 14 { |
pankso@4309 | 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
slaxemulator@8139 | 16 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma |
slaxemulator@6711 | 17 if [ -f $TARBALL ]; then |
slaxemulator@8139 | 18 unlzma -c $TARBALL | tar xf - |
slaxemulator@8244 | 19 cd $src && git checkout origin/aufs2.1 |
slaxemulator@6711 | 20 else |
slaxemulator@6711 | 21 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git $PACKAGE-$VERSION |
slaxemulator@8141 | 22 tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si |
slaxemulator@8244 | 23 cd $src && git checkout origin/aufs2.1 |
slaxemulator@6711 | 24 fi |
slaxemulator@6711 | 25 |
slaxemulator@8244 | 26 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
pankso@4309 | 27 cd $src |
pascal@5065 | 28 sed -i 's/-m 644 -T/-m 644/' Makefile |
slaxemulator@8144 | 29 make && |
slaxemulator@8144 | 30 make DESTDIR=$PWD/_pkg install |
pankso@4309 | 31 } |
pankso@4309 | 32 |
pankso@4309 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4309 | 34 genpkg_rules() |
pankso@4309 | 35 { |
pankso@4309 | 36 mkdir -p $fs/usr |
pankso@4309 | 37 cp -a $_pkg/sbin $fs |
pankso@4309 | 38 cp -a $_pkg/usr/bin $fs/usr |
pankso@4309 | 39 } |
slaxemulator@6717 | 40 |