openbsd-ports/audio/libsamplerate/Makefile
alek 90bec54171 Import libsamplerate 0.1.2
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter
for audio. One example of where such a thing would be useful is
converting audio from the CD sample rate of 44.1kHz to the 48kHz
sample rate used by DAT players.

From Antoine Jacoutot <ajacoutot@lphp.org>
2005-09-21 16:30:53 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2005/09/21 16:30:53 alek Exp $
COMMENT= "audio sample rate conversion library"
DISTNAME= libsamplerate-0.1.2
CATEGORIES= audio
HOMEPAGE= http://mega-nerd.com/SRC/
MAINTAINER= Antoine Jacoutot <ajacoutot@lphp.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WANTLIB= c m
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= sndfile.1::audio/libsndfile
CONFIGURE_STYLE=gnu
USE_LIBTOOL= yes
MAKE_FLAGS= CFLAGS="${CFLAGS}"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gcc-opt \
--disable-cpu-clip \
--disable-gcc-pipe \
--disable-fftw
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsamplerate
${INSTALL_DATA} ${WRKSRC}/doc/*.css \
${PREFIX}/share/doc/libsamplerate
${INSTALL_DATA} ${WRKSRC}/doc/*.png \
${PREFIX}/share/doc/libsamplerate
${INSTALL_DATA} ${WRKSRC}/doc/*.html \
${PREFIX}/share/doc/libsamplerate
.include <bsd.port.mk>