wok annotate aufs-utils/receipt @ rev 25512
memtest: 386/1M support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 07:20:48 2023 +0000 (19 months ago) |
parents | 9af0e03b8ad0 |
children |
rev | line source |
---|---|
pankso@4309 | 1 # SliTaz package receipt. |
pankso@4309 | 2 |
pankso@4309 | 3 PACKAGE="aufs-utils" |
pascal@20265 | 4 VERSION="20150122" |
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" |
pascal@25460 | 9 WEB_SITE="https://aufs.sourceforge.net/" |
pankso@9814 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14183 | 11 WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git" |
pascal@20265 | 12 BRANCH="origin/aufs3.14" |
pankso@9814 | 13 |
pankso@9814 | 14 DEPENDS="aufs" |
pascal@10449 | 15 BUILD_DEPENDS="git linux-module-headers aufs" |
pankso@9814 | 16 |
pascal@24373 | 17 # What is the latest version available today? |
pascal@24373 | 18 current_version() |
pascal@24373 | 19 { |
pascal@24373 | 20 wget -O - https://sourceforge.net/p/aufs/aufs-util/ci/${BRANCH#*/}/tree/ 2>/dev/null | \ |
pascal@24373 | 21 sed '/^ *20[0-9-]*$/!d;s|-||g;s| *||' | sort -r | uniq | sed q |
pascal@24373 | 22 } |
pascal@24373 | 23 |
pankso@4309 | 24 # Rules to configure and make the package. |
pankso@4309 | 25 compile_rules() |
pankso@4309 | 26 { |
al@19275 | 27 KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION) |
pascal@20265 | 28 //sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c |
pascal@5065 | 29 sed -i 's/-m 644 -T/-m 644/' Makefile |
al@19275 | 30 |
al@19269 | 31 make && |
pascal@14182 | 32 make DESTDIR=$DESTDIR install |
pankso@4309 | 33 } |
pankso@4309 | 34 |
pankso@4309 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4309 | 36 genpkg_rules() |
pankso@4309 | 37 { |
pankso@4309 | 38 mkdir -p $fs/usr |
pascal@14182 | 39 cp -a $install/sbin $fs |
pascal@14182 | 40 cp -a $install/usr/bin $fs/usr |
pankso@4309 | 41 } |