wok view quota/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 69e1e705f038 |
children |
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }