summaryrefslogtreecommitdiff
path: root/archivers/liblzo/buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 21:48:57 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 21:48:57 +0000
commit1c57323789a922a7182ba378831f2c0a336a6959 (patch)
treec8d09a03adeac7a950080d8040f6c9ceb10ef9d2 /archivers/liblzo/buildlink2.mk
parentee84541509a09b09b26167f474c4b53185c17b5f (diff)
downloadpkgsrc-1c57323789a922a7182ba378831f2c0a336a6959.tar.gz
Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
Diffstat (limited to 'archivers/liblzo/buildlink2.mk')
-rw-r--r--archivers/liblzo/buildlink2.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/archivers/liblzo/buildlink2.mk b/archivers/liblzo/buildlink2.mk
new file mode 100644
index 00000000000..c2d9808fb42
--- /dev/null
+++ b/archivers/liblzo/buildlink2.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 21:49:14 jlam Exp $
+
+.if !defined(LIBLZO_BUILDLINK2_MK)
+LIBLZO_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= liblzo
+BUILDLINK_DEPENDS.liblzo?= liblzo>=1.06
+BUILDLINK_PKGSRCDIR.liblzo?= ../../archivers/liblzo
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.liblzo=liblzo
+BUILDLINK_PREFIX.liblzo_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.liblzo= include/lzo1.h
+BUILDLINK_FILES.liblzo+= include/lzo16bit.h
+BUILDLINK_FILES.liblzo+= include/lzo1a.h
+BUILDLINK_FILES.liblzo+= include/lzo1b.h
+BUILDLINK_FILES.liblzo+= include/lzo1c.h
+BUILDLINK_FILES.liblzo+= include/lzo1f.h
+BUILDLINK_FILES.liblzo+= include/lzo1x.h
+BUILDLINK_FILES.liblzo+= include/lzo1y.h
+BUILDLINK_FILES.liblzo+= include/lzo1z.h
+BUILDLINK_FILES.liblzo+= include/lzo2a.h
+BUILDLINK_FILES.liblzo+= include/lzoconf.h
+BUILDLINK_FILES.liblzo+= include/lzoutil.h
+BUILDLINK_FILES.liblzo+= lib/liblzo.*
+
+BUILDLINK_TARGETS+= liblzo-buildlink
+
+liblzo-buildlink: _BUILDLINK_USE
+
+.endif # LIBLZO_BUILDLINK2_MK