wok annotate quota/receipt @ rev 25191
updated python-cryptography (2.8 -> 3.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:08:55 2022 +0100 (2022-07-13) |
parents | ec3fce5ac742 |
children | e685e7c4c950 |
rev | line source |
---|---|
pascal@14762 | 1 # SliTaz package receipt. |
pascal@14762 | 2 |
pascal@14762 | 3 PACKAGE="quota" |
Hans-G?nter@23603 | 4 VERSION="4.05" |
pascal@14762 | 5 CATEGORY="system-tools" |
Hans-G?nter@23603 | 6 SHORT_DESC="Tools for the Linux Diskquota system." |
pascal@14762 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14762 | 8 LICENSE="GPL2" |
Hans-G?nter@23603 | 9 WEB_SITE="https://sourceforge.net/projects/linuxquota/" |
Hans-G?nter@23603 | 10 |
pascal@14762 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14762 | 12 WGET_URL="$SF_MIRROR/linuxquota/quota-tools/$VERSION/$TARBALL" |
pascal@14762 | 13 |
pascal@14762 | 14 DEPENDS="e2fsprogs" |
Hans-G?nter@23603 | 15 BUILD_DEPENDS="e2fsprogs-dev gettext" |
pascal@14762 | 16 |
pascal@24348 | 17 # What is the latest version available today? |
pascal@24348 | 18 current_version() |
pascal@24348 | 19 { |
pascal@24348 | 20 wget -O - https://sourceforge.net/projects/linuxquota/files/quota-tools/ 2>/dev/null | \ |
pascal@24348 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 22 sed '/scope="row/!d;s|.*/quota-tools/||;s|/.*||;q' |
pascal@24348 | 23 } |
pascal@24348 | 24 |
pascal@14762 | 25 # Rules to configure and make the package. |
pascal@14762 | 26 compile_rules() |
pascal@14762 | 27 { |
Hans-G?nter@23603 | 28 ./configure \ |
Hans-G?nter@23603 | 29 --prefix=/usr \ |
Hans-G?nter@23603 | 30 --sysconfdir=/etc \ |
Hans-G?nter@23603 | 31 --mandir=/usr/share/man \ |
pascal@14762 | 32 $CONFIGURE_ARGS && |
pascal@14762 | 33 make && |
pascal@14763 | 34 make ROOTDIR=$DESTDIR install 2>&1 | grep -v '*.2' |
pascal@14762 | 35 } |
pascal@14762 | 36 |
pascal@14762 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14762 | 38 genpkg_rules() |
pascal@14762 | 39 { |
pascal@14762 | 40 mkdir -p $fs/usr |
Hans-G?nter@23603 | 41 |
Hans-G?nter@23603 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23603 | 43 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23603 | 44 cp -a $install/etc $fs |
pascal@14762 | 45 } |