pkgsrc/graphics/libv4l/buildlink3.mk
jmcneill d54ba6e023 libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.
2008-09-08 19:07:41 +00:00

20 lines
624 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/08 19:07:41 jmcneill Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBV4L_BUILDLINK3_MK:= ${LIBV4L_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libv4l
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibv4l}
BUILDLINK_PACKAGES+= libv4l
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libv4l
.if !empty(LIBV4L_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libv4l+= libv4l>=0.4.3
BUILDLINK_ABI_DEPENDS.libv4l+= libv4l>=0.4.3
BUILDLINK_PKGSRCDIR.libv4l?= ../../graphics/libv4l
.endif # LIBV4L_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}