From 1b247547eb051e12e79aedd391176f533481d622 Mon Sep 17 00:00:00 2001 From: gavan Date: Sun, 15 Jun 2008 10:33:38 +0000 Subject: 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. --- converters/qrencode/DESCR | 4 ++++ converters/qrencode/Makefile | 24 ++++++++++++++++++++++++ converters/qrencode/PLIST | 6 ++++++ converters/qrencode/buildlink3.mk | 19 +++++++++++++++++++ converters/qrencode/distinfo | 5 +++++ 5 files changed, 58 insertions(+) create mode 100644 converters/qrencode/DESCR create mode 100644 converters/qrencode/Makefile create mode 100644 converters/qrencode/PLIST create mode 100644 converters/qrencode/buildlink3.mk create mode 100644 converters/qrencode/distinfo (limited to 'converters/qrencode') 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 -- cgit v1.2.3