blob: 9c240aa08157b9d93521e73a8ea10a47e3082545 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.37 2006/04/04 18:19:13 wiz Exp $
DISTNAME= sox-12.17.9
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} \
http://www.cnpbagwell.com/
MAINTAINER= pkgsrc-users@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
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|