summaryrefslogtreecommitdiff
path: root/audio/speex/buildlink2.mk
blob: cf26c5d5ae4a1569dd48ec348c035b35b06c94e4 (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.5 2004/04/12 23:15:01 salo 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.2nb1
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 "../../multimedia/libogg/buildlink2.mk"

BUILDLINK_TARGETS+=	speex-buildlink

speex-buildlink: _BUILDLINK_USE

.endif	# SPEEX_BUILDLINK2_MK