openbsd-ports/audio/wavpack/Makefile

34 lines
723 B
Makefile

# $OpenBSD: Makefile,v 1.4 2010/09/26 13:40:11 naddy Exp $
COMMENT = audio codec for lossless, lossy and hybrid compression
DISTNAME = wavpack-4.60.1
CATEGORIES = audio
HOMEPAGE = http://www.wavpack.com/
SHARED_LIBS += wavpack 0.1 # .2.4
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
EXTRACT_SUFX = .tar.bz2
WANTLIB = c m
MODULES = converters/libiconv
SEPARATE_BUILD= simple
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
--with-libiconv-prefix="${LOCALBASE}"
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>