mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-26 05:20:47 -04:00
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2015/04/16 14:21:01 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= acpica-unix2-20150410
|
|
PKGNAME= ${DISTNAME:S/-unix2-/-utils-/}
|
|
CATEGORIES= sysutils devel
|
|
MASTER_SITES= https://acpica.org/sites/acpica/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.acpica.org/
|
|
COMMENT= Intel ACPI CA Unix utilities
|
|
LICENSE= modified-bsd OR gnu-gpl-v2
|
|
|
|
TESTS_DISTNAME= ${DISTNAME:S/acpica-unix2-/acpitests-unix-/}
|
|
DISTFILES= ${DEFAULT_DISTFILES}
|
|
DISTFILES+= ${TESTS_DISTNAME}${EXTRACT_SUFX}
|
|
|
|
USE_TOOLS+= bison flex gm4 gmake bash
|
|
|
|
REPLACE_BASH+= tests/aapits/bin/aapitsrun
|
|
REPLACE_BASH+= tests/aapits/bin/cadir
|
|
REPLACE_BASH+= tests/aapits/bin/run1
|
|
REPLACE_BASH+= tests/aslts.sh
|
|
REPLACE_BASH+= tests/aslts/bin/Do
|
|
REPLACE_BASH+= tests/aslts/bin/asltsdiffres
|
|
REPLACE_BASH+= tests/aslts/bin/asltsrun
|
|
REPLACE_BASH+= tests/aslts/bin/bugstate/bdemosconc
|
|
REPLACE_BASH+= tests/aslts/bin/bugstate/bdemossum
|
|
REPLACE_BASH+= tests/aslts/bin/bugstate/bdemostabs
|
|
REPLACE_BASH+= tests/aslts/bin/bugstate/parsebuglist
|
|
REPLACE_BASH+= tests/aslts/bin/common
|
|
REPLACE_BASH+= tests/aslts/bin/diffproc
|
|
REPLACE_BASH+= tests/aslts/bin/settings
|
|
REPLACE_BASH+= tests/templates/templates.sh
|
|
|
|
post-extract:
|
|
${RUN}rm -rf ${WRKSRC}/tests
|
|
${RUN}mv ${WRKDIR}/${TESTS_DISTNAME}/tests ${WRKSRC}
|
|
|
|
do-test:
|
|
# ACPICA Tests rely on non-zero exit
|
|
## ASL tests
|
|
cd ${WRKSRC}/tests && ./aslts.sh -u
|
|
## API tests
|
|
cd ${WRKSRC}/tests/aapits && gmake
|
|
cd ${WRKSRC}/tests/aapits/asl && \
|
|
ASL=${WRKSRC}/generate/unix/bin/iasl gmake
|
|
# This one needs to be fixed
|
|
# cd ${WRKSRC}/tests/aapits/bin && ./aapitsrun
|
|
## Template tests
|
|
# This test is broken too
|
|
# cd ${WRKSRC}/tests/templates && gmake
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|