33 lines
774 B
Bash
33 lines
774 B
Bash
# Template file for 'libdmtx'
|
|
pkgname=libdmtx
|
|
version=0.7.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Library for reading and writing Data Matrix barcodes"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/dmtx/libdmtx"
|
|
distfiles="https://github.com/dmtx/libdmtx/archive/v${version}.tar.gz"
|
|
checksum=be0c5275695a732a5f434ded1fcc232aa63b1a6015c00044fe87f3a689b75f2e
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|