summaryrefslogtreecommitdiff
path: root/graphics/libv4l/buildlink3.mk
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-09-08 19:07:41 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-09-08 19:07:41 +0000
commitd54ba6e023cd9272d4ad892c8afb714afa6023d1 (patch)
treebf55c1c7f4e6c975fd0e75a1ec6d1faaf71b967b /graphics/libv4l/buildlink3.mk
parentc07fcee37a9e83ff934f45825dbac2300f05483f (diff)
downloadpkgsrc-d54ba6e023cd9272d4ad892c8afb714afa6023d1.tar.gz
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.
Diffstat (limited to 'graphics/libv4l/buildlink3.mk')
-rw-r--r--graphics/libv4l/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/libv4l/buildlink3.mk b/graphics/libv4l/buildlink3.mk
new file mode 100644
index 00000000000..9f59cc7ccd5
--- /dev/null
+++ b/graphics/libv4l/buildlink3.mk
@@ -0,0 +1,20 @@
+# $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/+$//}