wok-6.x annotate aufs-utils/receipt @ rev 19269
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 14:47:05 2016 +0300 (2016-07-04) |
parents | 779d82a07231 |
children | 11b5e93cb5f2 |
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 |
al@19269 | 24 make && |
pascal@14182 | 25 make DESTDIR=$DESTDIR install |
al@19269 | 26 |
al@19269 | 27 cook_compress_manpages |
pankso@4309 | 28 } |
pankso@4309 | 29 |
pankso@4309 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4309 | 31 genpkg_rules() |
pankso@4309 | 32 { |
pankso@4309 | 33 mkdir -p $fs/usr |
pascal@14182 | 34 cp -a $install/sbin $fs |
pascal@14182 | 35 cp -a $install/usr/bin $fs/usr |
pankso@4309 | 36 } |