summaryrefslogtreecommitdiff
path: root/audio/speex/buildlink2.mk
blob: 1259a784f0ac79dd8eef161cfb83d47a03cdf72e (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
# $NetBSD: buildlink2.mk,v 1.3 2003/06/05 13:18:10 wiz Exp $
#
# This Makefile fragment is included by packages that use speex.
#

.if !defined(SPEEX_BUILDLINK2_MK)
SPEEX_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=			speex
BUILDLINK_DEPENDS.speex?=		speex>=1.0.1
BUILDLINK_PKGSRCDIR.speex?=		../../audio/speex

EVAL_PREFIX+=	BUILDLINK_PREFIX.speex=speex
BUILDLINK_PREFIX.speex_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.speex+=	include/speex.h
BUILDLINK_FILES.speex+=	include/speex_bits.h
BUILDLINK_FILES.speex+=	include/speex_callbacks.h
BUILDLINK_FILES.speex+=	include/speex_header.h
BUILDLINK_FILES.speex+=	include/speex_stereo.h
BUILDLINK_FILES.speex+=	lib/libspeex.*

.include "../../audio/libogg/buildlink2.mk"

BUILDLINK_TARGETS+=	speex-buildlink

speex-buildlink: _BUILDLINK_USE

.endif	# SPEEX_BUILDLINK2_MK