attr: add do_check.

Closes #9265.
This commit is contained in:
maxice8 2017-11-16 23:21:31 -02:00 committed by Enno Boland
parent 9247c00334
commit a9b46d2240

View file

@ -4,6 +4,7 @@ version=2.4.47
revision=6
bootstrap=yes
build_style=gnu-configure
checkdepends="perl"
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
short_desc="Extended attribute support library for ACL support"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -16,6 +17,12 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
configure_args="--libdir=/usr/lib32 --libexecdir=/usr/lib32"
fi
do_check() {
sed -i 's:{(:\\{(:' test/run
make -j1 tests
}
do_install() {
make DIST_ROOT=${DESTDIR} install install-lib install-dev
}