wok annotate aufs-utils/receipt @ rev 19143

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