summaryrefslogtreecommitdiff
path: root/audio/sox/Makefile
blob: b51811c2bcab01701b982fc30593b8fb9b0da48f (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
# $NetBSD: Makefile,v 1.32 2005/04/11 21:44:56 tv Exp $

DISTNAME=	sox-12.17.6
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=sox/} \
		http://www.cnpbagwell.com/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://sox.sourceforge.net/
COMMENT=	SOund eXchange - universal sound sample translator

PKG_INSTALLATION_TYPES=	overwrite pkgviews

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--enable-fast-ulaw
CONFIGURE_ARGS+=	--enable-fast-alaw
CONFIGURE_ARGS+=	--disable-oss-dsp
CONFIGURE_ARGS+=	--with-ogg-vorbislib=${BUILDLINK_PREFIX.libvorbis}/lib
CONFIGURE_ARGS+=	--with-ogg-vorbisinc=${BUILDLINK_PREFIX.libvorbis}/include

.include "../../mk/bsd.prefs.mk"

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"