703e6e5849
Closes: #10151 [via git-merge-pr]
47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
# Template file for 'dar'
|
|
pkgname=dar
|
|
version=2.5.14
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-upx --disable-build-html"
|
|
conf_files="/etc/darrc"
|
|
hostmakedepends="automake libtool pkg-config gettext-devel gpgme-devel"
|
|
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=fae049166b2b2a4f9db4fe3e4d135a520a5b93ffeb4089428b60f8c54603c5c5
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
configure_args+=" --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr"
|
|
configure_args+=" ac_cv_lib_gcrypt_gcry_check_version=false"
|
|
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lgcrypt"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
do_check() {
|
|
# need to be run as root
|
|
:
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|