void-packages/srcpkgs/libdmtx/template

23 lines
648 B
Bash

# Template file for 'libdmtx'
pkgname=libdmtx
version=0.7.4
revision=2
build_style=gnu-configure
maintainer="Orphaned <orphan@voidlinux.eu>"
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"
}
}