wok-next annotate quota/receipt @ rev 20978
Small improvements
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:34:11 2018 +0300 (2018-09-27) |
parents | 757d032c55c7 |
children | d5aab818505e |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
pascal@14762 | 2 |
pascal@14762 | 3 PACKAGE="quota" |
al@20614 | 4 VERSION="4.04" |
pascal@14762 | 5 CATEGORY="system-tools" |
pascal@14762 | 6 SHORT_DESC="Tools for the Linux Diskquota system" |
pascal@14762 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14762 | 8 LICENSE="GPL2" |
al@20614 | 9 WEB_SITE="https://sourceforge.net/projects/linuxquota/" |
al@20534 | 10 |
pascal@14762 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20614 | 12 WGET_URL="$SF_MIRROR/linuxquota/$TARBALL" |
pascal@14762 | 13 |
al@20614 | 14 BUILD_DEPENDS="gettext libcomerr-dev e2fsprogs-dev dbus-dev libnl-dev \ |
al@20614 | 15 rpcsvc-proto libtirpc-dev" |
al@20614 | 16 SPLIT="quota-dev" |
pascal@14762 | 17 |
al@20534 | 18 compile_rules() { |
al@20614 | 19 export CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/" |
al@20614 | 20 |
al@20534 | 21 ./configure $CONFIGURE_ARGS && |
pascal@14762 | 22 make && |
al@20534 | 23 make ROOTDIR=$DESTDIR install |
pascal@14762 | 24 } |
pascal@14762 | 25 |
al@20534 | 26 genpkg_rules() { |
al@20614 | 27 case $PACKAGE in |
al@20614 | 28 quota) |
al@20614 | 29 copy @std |
al@20614 | 30 DEPENDS="dbus e2fsprogs libnl libtirpc" |
al@20614 | 31 ;; |
al@20614 | 32 *-dev) |
al@20614 | 33 copy @dev |
al@20614 | 34 ;; |
al@20614 | 35 esac |
pascal@14762 | 36 } |