diff options
author | rodent <rodent@pkgsrc.org> | 2013-06-09 13:48:50 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2013-06-09 13:48:50 +0000 |
commit | 6f9792305d41064f07d82f9c21b044ca31764234 (patch) | |
tree | 99eb6b735937a1d2fb9c33876b3d013781fbbc5c | |
parent | 108e2c4e1e25ddbc1bdaca293b7b51046881c27b (diff) | |
download | pkgsrc-6f9792305d41064f07d82f9c21b044ca31764234.tar.gz |
Update to latest release. Use options framework to all user to build a
statically linked package. Buildlink pthread. Simplify HOMEPAGE. USE .bz2
distfile. From NEWS:
Version 3.4.2 (2013.3.1)
------------------------
* Bug fix release. (Thanks to chisj, vlad417, Petr and Viona)
Release Note:
Micro QR Code encoder had a bug that caused incorrect output (issue #25). Now
the bug has been fixed. Memory leak bug (#24) and insufficient string splitting
bug have been fixed.
-rw-r--r-- | converters/qrencode/Makefile | 11 | ||||
-rw-r--r-- | converters/qrencode/distinfo | 8 | ||||
-rw-r--r-- | converters/qrencode/options.mk | 13 |
3 files changed, 24 insertions, 8 deletions
diff --git a/converters/qrencode/Makefile b/converters/qrencode/Makefile index b1d354d346e..aab90c9d068 100644 --- a/converters/qrencode/Makefile +++ b/converters/qrencode/Makefile @@ -1,13 +1,13 @@ -# $NetBSD: Makefile,v 1.10 2013/02/16 11:20:37 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2013/06/09 13:48:50 rodent Exp $ # -DISTNAME= qrencode-3.4.1 -PKGREVISION= 1 +DISTNAME= qrencode-3.4.2 CATEGORIES= converters MASTER_SITES= http://fukuchi.org/works/qrencode/ +EXTRACT_SUFX= .tar.bz2 MAINTAINER= alaric@kitten-technologies.co.uk -HOMEPAGE= http://fukuchi.org/works/qrencode/index.html.en +HOMEPAGE= http://fukuchi.org/works/qrencode/ COMMENT= QR Code generator LICENSE= gnu-lgpl-v2.1 @@ -24,5 +24,8 @@ CONFIGURE_ARGS+= --without-tests PKGCONFIG_OVERRIDE+= libqrencode.pc.in +.include "options.mk" + .include "../../graphics/png/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/converters/qrencode/distinfo b/converters/qrencode/distinfo index 76d22cc2082..22df2f7b580 100644 --- a/converters/qrencode/distinfo +++ b/converters/qrencode/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2012/12/16 14:23:07 ryoon Exp $ +$NetBSD: distinfo,v 1.6 2013/06/09 13:48:50 rodent Exp $ -SHA1 (qrencode-3.4.1.tar.gz) = 3a651b077bc58d4108d350033de412d063de852d -RMD160 (qrencode-3.4.1.tar.gz) = 170b77cfdb50db795ee71b6540cbc605daf370c9 -Size (qrencode-3.4.1.tar.gz) = 459434 bytes +SHA1 (qrencode-3.4.2.tar.bz2) = f9066b442d001333829538a99fa17275c05248d6 +RMD160 (qrencode-3.4.2.tar.bz2) = 0c3deb1b1579313890d40fe83a868c069d310a71 +Size (qrencode-3.4.2.tar.bz2) = 375876 bytes diff --git a/converters/qrencode/options.mk b/converters/qrencode/options.mk new file mode 100644 index 00000000000..38191044707 --- /dev/null +++ b/converters/qrencode/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1 2013/06/09 13:48:50 rodent Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.qrencode +PKG_SUPPORTED_OPTIONS= static +PKG_SUGGESTED_OPTIONS+= # blank + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mstatic) +CONFIGURE_ARGS+= --enable-static=yes +.else +CONFIGURE_ARGS+= --enable-static=no +.endif |