summaryrefslogtreecommitdiff
path: root/audio/libao/Makefile.common
blob: 73028112a5e1f058970b82bdb5c22c97fb25cd1f (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
35
36
37
38
39
40
# $NetBSD: Makefile.common,v 1.28 2006/12/19 01:18:18 rillig Exp $

DISTNAME=	libao-0.8.6
CATEGORIES=	audio devel
MASTER_SITES=	http://downloads.xiph.org/releases/ao/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.xiph.org/ao/
COMMENT=	Cross-platform audio library

PKG_DESTDIR_SUPPORT=	user-destdir

DISTINFO_FILE=	${.CURDIR}/../../audio/libao/distinfo
PATCHDIR=	${.CURDIR}/../../audio/libao/patches

GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake pkg-config
USE_LIBTOOL=		yes
MAKE_FLAGS+=		MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+=		mandir=${PREFIX}/${PKGMANDIR}

PKGCONFIG_OVERRIDE+=	ao.pc.in

CONFIGURE_ARGS+=	--disable-alsa
CONFIGURE_ARGS+=	--disable-alsa09
CONFIGURE_ARGS+=	--disable-arts
CONFIGURE_ARGS+=	--disable-esd
CONFIGURE_ARGS+=	--disable-nas
CONFIGURE_ARGS+=	--disable-polyp
CONFIGURE_ARGS+=	ENABLE_AIX_AUDIO=no
CONFIGURE_ARGS+=	ENABLE_IRIX=no
CONFIGURE_ARGS+=	ENABLE_OSS=no
CONFIGURE_ARGS+=	ENABLE_SUN_AUDIO=no
CONFIGURE_ARGS+=	ENABLE_MACOSX=no
CONFIGURE_ARGS+=	ENABLE_SOLARIS=no

MAKE_ENV+=		DLLIB=${BUILDLINK_LDADD.dl}

.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"