openbsd-ports/audio/freealut/Makefile
2009-08-24 15:27:49 +00:00

38 lines
848 B
Makefile

# $OpenBSD: Makefile,v 1.3 2009/08/24 15:27:49 sthen Exp $
COMMENT= OpenAL Utility Toolkit
DISTNAME= freealut-1.1.0
SHARED_LIBS += alut 1.0 # .1.0
CATEGORIES= audio
HOMEPAGE= http://www.openal.org/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m ossaudio pthread
MASTER_SITES= http://connect.creativelabs.com/openal/Downloads/ALUT/
LIB_DEPENDS= openal.>=1.0::audio/openal
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-dependency-tracking
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/" \
LDFLAGS="-lossaudio -L${LOCALBASE}/lib"
TESTS= errorstuff fileloader memoryloader retrostuff version waveforms
do-regress:
.for t in ${TESTS}
@echo test_${t}
@cd ${WRKBUILD}/test_suite && ./test_${t}
.endfor
.include <bsd.port.mk>