quota: update to 4.06.
This commit is contained in:
parent
6b2e1add4f
commit
c8f31fce4e
1 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'quota'
|
# Template file for 'quota'
|
||||||
pkgname=quota
|
pkgname=quota
|
||||||
version=4.05
|
version=4.06
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
make_build_args="V=1"
|
make_build_args="V=1"
|
||||||
|
@ -12,11 +12,12 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://sourceforge.net/projects/linuxquota/"
|
homepage="https://sourceforge.net/projects/linuxquota/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/linuxquota/quota-tools/${pkgname}-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/linuxquota/quota-tools/${pkgname}-${version}.tar.gz"
|
||||||
checksum=ef3b5b5d1014ed1344b46c1826145e20cbef8db967b522403c9a060761cf7ab9
|
checksum=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d
|
||||||
|
|
||||||
post_extract() {
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
sed -i 's/CFLAGS="/CFLAGS+=" /' configure
|
# Only used in places where overflow is not possible.
|
||||||
}
|
*-musl) CFLAGS+=' -Dreallocarray\(o,n,s\)=realloc\(o,n*s\)';;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/include/rpcsvc ${DESTDIR}/usr/share/doc/quota
|
rm -rf ${DESTDIR}/usr/include/rpcsvc ${DESTDIR}/usr/share/doc/quota
|
||||||
|
|
Loading…
Reference in a new issue