void-packages/srcpkgs/dar/template
2016-10-29 23:37:56 +02:00

31 lines
875 B
Bash

# Template file for 'dar'
pkgname=dar
version=2.5.7
revision=1
build_style=gnu-configure
configure_args="--disable-upx --disable-build-html"
conf_files="/etc/darrc"
makedepends="acl-devel zlib-devel bzip2-devel lzo-devel liblzma-devel libgcrypt-devel e2fsprogs-devel"
short_desc="Shell command that backs up directory trees and files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://dar.linux.free.fr/"
distfiles="${SOURCEFORGE_SITE}/dar/dar-${version}.tar.gz"
checksum=f4fa3b5d8d38a299e4463dbf77e104c572be669838e16a3d507dce7173d1561d
libdar_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libdar-devel_package() {
short_desc+=" - development files"
depends="libdar>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}