void-packages/srcpkgs/libdmtx/template
2018-11-20 13:38:31 -02:00

27 lines
693 B
Bash

# Template file for 'libdmtx'
pkgname=libdmtx
version=0.7.4
revision=3
build_style=gnu-configure
short_desc="Library for reading and writing Data Matrix barcodes"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="BSD-2-Clause"
homepage="http://www.libdmtx.org/"
distfiles="$SOURCEFORGE_SITE/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=b62c586ac4fad393024dadcc48da8081b4f7d317aa392f9245c5335f0ee8dd76
post_install() {
vlicense LICENSE
}
libdmtx-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}