void-packages/srcpkgs/libdmtx/template

24 lines
652 B
Plaintext

# Template file for 'libdmtx'
pkgname=libdmtx
version=0.7.4
revision=2
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
license="BSD-2"
homepage="http://www.libdmtx.org/"
short_desc="Library for reading and writing Data Matrix barcodes"
distfiles="$SOURCEFORGE_SITE/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=b62c586ac4fad393024dadcc48da8081b4f7d317aa392f9245c5335f0ee8dd76
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"
}
}