openbsd-ports/audio/speex/Makefile

34 lines
747 B
Makefile

# $OpenBSD: Makefile,v 1.13 2007/05/08 15:17:48 naddy Exp $
COMMENT= "patent-free speech codec"
DISTNAME= speex-1.2beta1
CATEGORIES= audio
HOMEPAGE= http://www.speex.org/
SHARED_LIBS += speex 5.0 # .5.0
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://downloads.xiph.org/releases/speex/
LIB_DEPENDS= ogg.>=5::audio/libogg
WANTLIB= c m
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-ogg=${LOCALBASE}
MAKE_FLAGS= docdir=${TRUEPREFIX}/share/doc/speex \
mandir=${TRUEPREFIX}/man
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
.include <bsd.port.mk>