import libqrencode 3.1.1

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.

ok aja@
This commit is contained in:
jasper 2011-07-27 15:30:49 +00:00
parent badd54a14d
commit d4a982c9aa
4 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/07/27 15:30:49 jasper Exp $
SHARED_ONLY= Yes
COMMENT= library for encoding data in a QR Code symbol
DISTNAME= qrencode-3.1.1
PKGNAME= lib${DISTNAME}
SHARED_LIBS += qrencode 0.0 # 3.1
CATEGORIES= graphics
HOMEPAGE= http://fukuchi.org/works/qrencode/index.en.html
# LGPLv2.1
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${HOMEPAGE:=/../}
WANTLIB += c m png z
LIB_DEPENDS= graphics/png
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-tools \
--with-tests
CONFIGURE_ENV+= png_CFLAGS="`pkg-config --cflags libpng`" \
png_LIBS="`pkg-config --libs libpng`"
REGRESS_TARGETS= test_qrinput test_bitstream test_estimatebit \
test_qrspec test_rs test_qrencode prof_qrencode \
test_split test_monkey
do-regress:
.for r in ${REGRESS_TARGETS}
cd ${WRKSRC}/tests/ && ./$r
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (qrencode-3.1.1.tar.gz) = 2X9ny++vV35sFZI/PMV7ag==
RMD160 (qrencode-3.1.1.tar.gz) = Isgyw2Pz7TjTpER5q4WZx5pmX3I=
SHA1 (qrencode-3.1.1.tar.gz) = w+tsRFU9qmEqm89BPTyrfEYkE3M=
SHA256 (qrencode-3.1.1.tar.gz) = FDryo0bA9jJA4EbLNJgAcDFLSXsh9FJrRghiZP1rs28=
SIZE (qrencode-3.1.1.tar.gz) = 377838

View File

@ -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.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/07/27 15:30:49 jasper Exp $
@bin bin/qrencode
include/qrencode.h
lib/libqrencode.a
lib/libqrencode.la
@lib lib/libqrencode.so.${LIBqrencode_VERSION}
lib/pkgconfig/
lib/pkgconfig/libqrencode.pc
@man man/man1/qrencode.1