void-packages/srcpkgs/recutils/template

32 lines
844 B
Bash

# Template file for 'recutils'
pkgname=recutils
version=1.9
revision=1
build_style=gnu-configure
configure_args="--with-bash-headers --disable-rpath"
hostmakedepends="pkg-config"
makedepends="acl-devel libgcrypt-devel libuuid-devel libcurl-devel"
short_desc="Utilities to deal with recfiles"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/recutils/"
distfiles="${GNU_SITE}/recutils/recutils-${version}.tar.gz"
checksum=6301592b0020c14b456757ef5d434d49f6027b8e5f3a499d13362f205c486e0e
librec1_package() {
short_desc+=" - rec1 library"
pkg_install() {
vmove "usr/lib/librec.so.*"
}
}
librec-devel_package() {
depends="librec1-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}