aboutsummaryrefslogtreecommitdiffstats
path: root/community/libqrencode
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-26 22:57:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-26 23:33:40 -0300
commit68aa524e985302763f5ff26d415dcaa076b9590e (patch)
tree67f5b79276135f17a1bd68444f2d2c6d71743fc7 /community/libqrencode
parente79e4c4b2bfb7a1fd9f62d3286700d44e98d3668 (diff)
downloadaports-68aa524e985302763f5ff26d415dcaa076b9590e.tar.bz2
aports-68aa524e985302763f5ff26d415dcaa076b9590e.tar.xz
community/libqrencode: move from main
Diffstat (limited to 'community/libqrencode')
-rw-r--r--community/libqrencode/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/libqrencode/APKBUILD b/community/libqrencode/APKBUILD
new file mode 100644
index 0000000000..c4710fbea8
--- /dev/null
+++ b/community/libqrencode/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor:
+# Maintainer:
+pkgname=libqrencode
+pkgver=4.0.2
+pkgrel=0
+pkgdesc="Library for encoding QR codes"
+url="https://fukuchi.org/works/qrencode/index.html"
+arch="all"
+options="!check" # No test suite.
+license="LGPL-2.1+"
+makedepends="libpng-dev libtool"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://fukuchi.org/works/qrencode/qrencode-$pkgver.tar.bz2"
+builddir="$srcdir/qrencode-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="2429c7938e32eacbaf327c029c7745ba33259f879661a8b6470cc617c780daf5bd1d5689599151df62e84badd2568eccab6c12f157331e512ab24a3899e0f002 qrencode-4.0.2.tar.bz2"