void-packages/srcpkgs/xar/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

27 lines
723 B
Bash

# Template file for 'xar'
pkgname=xar
version=1.5.2
revision=6
build_style=gnu-configure
configure_args="ac_cv_sizeof_uid_t=4"
makedepends="zlib-devel bzip2-devel e2fsprogs-devel acl-devel libxml2-devel libressl-devel"
short_desc="eXtensible ARchiver format"
maintainer="Juan RP <xtraeme@gmail.com>"
license="3-clause-BSD"
homepage="https://code.google.com/p/xar"
distfiles="https://xar.googlecode.com/files/xar-${version}.tar.gz"
checksum=4c5d5682803cdfab16d72365cf51fc4075d597c5eeaa8c7d1990fea98cdae3e6
post_install() {
vlicense LICENSE
}
xar-devel_package() {
depends="xar-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}