aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Queiroz <diego.queiroz@gmail.com>2016-09-29 06:04:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-19 15:31:29 +0000
commit5f91679ab9828e1d1ec331871009a169b2a5abdc (patch)
treeaf1e268d327b0ed5c31ced217550589ec1c62be5
parent57e6244646733d2280962e39648d404d98e05f02 (diff)
downloadaports-5f91679ab9828e1d1ec331871009a169b2a5abdc.tar.bz2
aports-5f91679ab9828e1d1ec331871009a169b2a5abdc.tar.xz
testing/zbar: new aport
http://zbar.sourceforge.net/ Port of ZBAR BAR CODE READER
-rw-r--r--testing/zbar/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/zbar/APKBUILD b/testing/zbar/APKBUILD
new file mode 100644
index 0000000000..a5851c7f7e
--- /dev/null
+++ b/testing/zbar/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Diego Queiroz <diego.queiroz@gmail.com>
+# Maintainer: Diego Queiroz <diego.queiroz@gmail.com>
+pkgname=zbar
+pkgver=0.10
+pkgrel=0
+pkgdesc="Port of ZBAR BAR CODE READER"
+url="http://zbar.sourceforge.net/"
+arch="all"
+license="LGPL2+"
+depends="imagemagick-dev gtk+-dev py-gtk-dev py-gobject qt-dev g++ libtool lcms2-dev"
+makedepends=""
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://sourceforge.net/projects/zbar/files/zbar/$pkgver/zbar-$pkgver.tar.bz2"
+
+builddir="$srcdir"/zbar-$pkgver
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr --disable-video || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ ls
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="0fd61eb590ac1bab62a77913c8b086a5 zbar-0.10.tar.bz2"
+sha256sums="234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6 zbar-0.10.tar.bz2"
+sha512sums="76cb8a469e3ac9ea7932a95c500cf933501249cdb8dce4df558bf5681bd44c62111327b494e6e887079a5fd30b32154887dcc12962e6d27b1453f55457483db4 zbar-0.10.tar.bz2"