wok-6.x view quota/receipt @ rev 24614

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 06 21:04:14 2022 +0000 (2022-03-06)
parents ec3fce5ac742
children e685e7c4c950
line source
1 # SliTaz package receipt.
3 PACKAGE="quota"
4 VERSION="4.05"
5 CATEGORY="system-tools"
6 SHORT_DESC="Tools for the Linux Diskquota system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/linuxquota/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/linuxquota/quota-tools/$VERSION/$TARBALL"
14 DEPENDS="e2fsprogs"
15 BUILD_DEPENDS="e2fsprogs-dev gettext"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/linuxquota/files/quota-tools/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/quota-tools/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make ROOTDIR=$DESTDIR install 2>&1 | grep -v '*.2'
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/etc $fs
45 }