void-packages/srcpkgs/recutils/template

32 lines
847 B
Bash

# Template file for 'recutils'
pkgname=recutils
version=1.8
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="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/recutils/"
distfiles="${GNU_SITE}/recutils/recutils-${version}.tar.gz"
checksum=df8eae69593fdba53e264cbf4b2307dfb82120c09b6fab23e2dad51a89a5b193
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"
}
}