diff options
-rw-r--r-- | testing/libdmtx/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/libdmtx/APKBUILD b/testing/libdmtx/APKBUILD new file mode 100644 index 0000000000..77aaa59286 --- /dev/null +++ b/testing/libdmtx/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=libdmtx +pkgver=0.7.5 +pkgrel=0 +pkgdesc="A software for reading and writing Data Matrix 2D barcodes" +url="https://libdmtx.sourceforge.net/" +arch="all" +license="BSD-2-Clause" +makedepends="autoconf automake libtool" +source="https://github.com/dmtx/libdmtx/archive/v$pkgver/libdmtx-$pkgver.tar.gz" +subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" + +prepare() { + default_prepare + + ./autogen.sh +} + +build() { + ./configure --prefix=/usr + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a libdmtx-0.7.5.tar.gz" |