# Template file for 'dar'
pkgname=dar
version=2.4.15
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 libgcrypt-devel"
short_desc="Shell command that backs up directory trees and files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://dar.linux.free.fr/"
distfiles="${SOURCEFORGE_SITE}/dar/dar-${version}.tar.gz"
checksum=9606992bb85f01672b523a53d100cc2393737d6e737139b9469029e8cf23c9f4

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
	}
}
