wok view aufs-utils/receipt @ rev 25562
ext4magic: add current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 01 08:21:00 2023 +0000 (18 months ago) |
parents | 9af0e03b8ad0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20150122"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://aufs.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git"
12 BRANCH="origin/aufs3.14"
14 DEPENDS="aufs"
15 BUILD_DEPENDS="git linux-module-headers aufs"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/p/aufs/aufs-util/ci/${BRANCH#*/}/tree/ 2>/dev/null | \
21 sed '/^ *20[0-9-]*$/!d;s|-||g;s| *||' | sort -r | uniq | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION)
28 //sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c
29 sed -i 's/-m 644 -T/-m 644/' Makefile
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/sbin $fs
40 cp -a $install/usr/bin $fs/usr
41 }