pkgsrc/audio/sox/Makefile

36 lines
999 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.35 2005/11/11 21:19:11 joerg Exp $
DISTNAME= sox-12.17.7
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} \
http://www.cnpbagwell.com/
2003-07-17 23:21:03 +02:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sox.sourceforge.net/
COMMENT= SOund eXchange - universal sound sample translator
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-fast-ulaw
CONFIGURE_ARGS+= --enable-fast-alaw
.if ${OPSYS} != "DragonFly" && ${OPSYS} != "FreeBSD"
CONFIGURE_ARGS+= --disable-oss-dsp
.endif
CONFIGURE_ARGS+= --with-ogg-vorbislib=${BUILDLINK_PREFIX.libvorbis}/lib
CONFIGURE_ARGS+= --with-ogg-vorbisinc=${BUILDLINK_PREFIX.libvorbis}/include
PLIST_SRC= ${PKGDIR}/PLIST.common
.if ${OPSYS} != "Interix"
CONFIGURE_ARGS+= --with-sun-audio
PLIST_SRC+= ${PKGDIR}/PLIST.play
.endif
2004-03-12 03:23:15 +01:00
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"