summaryrefslogtreecommitdiff
path: root/converters/qrencode
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2008-06-15 10:33:38 +0000
committergavan <gavan@pkgsrc.org>2008-06-15 10:33:38 +0000
commit1b247547eb051e12e79aedd391176f533481d622 (patch)
tree4edbe94330b8532604976af2de1331910d7ca627 /converters/qrencode
parent8d7f8494545ec9b0650967d5e0ea751085f14f31 (diff)
downloadpkgsrc-1b247547eb051e12e79aedd391176f533481d622.tar.gz
New package: qrencode 3.0.3
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is highly robust. This package installs a library and a command line tool. Package from Alaric Snell-Pym, with some improvements by me.
Diffstat (limited to 'converters/qrencode')
-rw-r--r--converters/qrencode/DESCR4
-rw-r--r--converters/qrencode/Makefile24
-rw-r--r--converters/qrencode/PLIST6
-rw-r--r--converters/qrencode/buildlink3.mk19
-rw-r--r--converters/qrencode/distinfo5
5 files changed, 58 insertions, 0 deletions
diff --git a/converters/qrencode/DESCR b/converters/qrencode/DESCR
new file mode 100644
index 00000000000..1dd23718649
--- /dev/null
+++ b/converters/qrencode/DESCR
@@ -0,0 +1,4 @@
+Libqrencode is a C library for encoding data in a QR Code symbol, a kind of
+2D symbology that can be scanned by handy terminals such as a mobile phone
+with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters,
+and is highly robust.
diff --git a/converters/qrencode/Makefile b/converters/qrencode/Makefile
new file mode 100644
index 00000000000..0bf428b71ef
--- /dev/null
+++ b/converters/qrencode/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2008/06/15 10:33:38 gavan Exp $
+#
+
+DISTNAME= qrencode-3.0.3
+CATEGORIES= converters
+MASTER_SITES= http://megaui.net/fukuchi/works/qrencode/
+
+MAINTAINER= alaric@kitten-technologies.co.uk
+HOMEPAGE= http://megaui.net/fukuchi/works/qrencode/index.en.html
+COMMENT= QR Code generator
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES+= c c++
+USE_LIBTOOL= yes
+
+# The tests are not actually installed anyway, and at least
+# one of these tests requires SDL.
+CONFIGURE_ARGS+= --without-tests
+
+PKGCONFIG_OVERRIDE+= libqrencode.pc.in
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/qrencode/PLIST b/converters/qrencode/PLIST
new file mode 100644
index 00000000000..1819b08720c
--- /dev/null
+++ b/converters/qrencode/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2008/06/15 10:33:38 gavan Exp $
+bin/qrencode
+include/qrencode.h
+lib/libqrencode.la
+lib/pkgconfig/libqrencode.pc
+man/man1/qrencode.1
diff --git a/converters/qrencode/buildlink3.mk b/converters/qrencode/buildlink3.mk
new file mode 100644
index 00000000000..771707e8f20
--- /dev/null
+++ b/converters/qrencode/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/06/15 10:33:38 gavan Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+QRENCODE_BUILDLINK3_MK:= ${QRENCODE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= qrencode
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqrencode}
+BUILDLINK_PACKAGES+= qrencode
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qrencode
+
+.if ${QRENCODE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.qrencode+= qrencode>=3.0.3
+BUILDLINK_PKGSRCDIR.qrencode?= ../../converters/qrencode
+.endif # QRENCODE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/converters/qrencode/distinfo b/converters/qrencode/distinfo
new file mode 100644
index 00000000000..0fde84c9376
--- /dev/null
+++ b/converters/qrencode/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2008/06/15 10:33:38 gavan Exp $
+
+SHA1 (qrencode-3.0.3.tar.gz) = 818924a8b648ddee3cd2df556455a3d468ab87c5
+RMD160 (qrencode-3.0.3.tar.gz) = 7e94883cdc8434e1511eef319af01d9733e8960a
+Size (qrencode-3.0.3.tar.gz) = 399547 bytes