wok view quota/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents e685e7c4c950
children 69e1e705f038
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 export LDFLAGS="$LDFLAGS -lpthread"
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make ROOTDIR=$DESTDIR install 2>&1 | grep -v '*.2'
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/etc $fs
46 }