pkgsrc/audio/libsamplerate/buildlink3.mk

21 lines
631 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.3 2004/03/18 09:12:08 jlam Exp $
2004-02-19 12:22:53 +01:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
2004-02-19 12:22:53 +01:00
LIBSAMPLERATE_BUILDLINK3_MK:= ${LIBSAMPLERATE_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libsamplerate
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsamplerate}
BUILDLINK_PACKAGES+= libsamplerate
2004-02-19 12:22:53 +01:00
.if !empty(LIBSAMPLERATE_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libsamplerate+= libsamplerate>=0.0.13nb1
BUILDLINK_PKGSRCDIR.libsamplerate?= ../../audio/libsamplerate
.endif # LIBSAMPLERATE_BUILDLINK3_MK
2004-02-19 12:22:53 +01:00
.include "../../audio/libsndfile/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}