void-packages/srcpkgs/xbps/template

29 lines
1 KiB
Text
Raw Normal View History

# Template file for 'xbps'
pkgname=xbps
2013-01-24 08:44:57 +00:00
version=0.20
revision=10
2010-06-03 08:09:37 +00:00
build_style=configure
2012-11-26 09:27:24 +00:00
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
--enable-static --enable-debug --enable-tests"
depends="xbps-triggers"
makedepends="which pkg-config proplib-devel>=0.6.2 openssl-devel
libfetch-devel libarchive-devel>=3.1.2 confuse-devel atf-devel"
2012-06-20 08:41:07 +00:00
conf_files="/etc/xbps/xbps.conf"
subpackages="libxbps libxbps-devel xbps-static xbps-tests"
2012-06-20 08:41:07 +00:00
replaces="xbps>=0"
short_desc="The XBPS package system utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-05-27 07:55:30 +00:00
homepage="http://code.google.com/p/xbps"
2011-07-15 13:57:36 +00:00
license="Simplified BSD"
2012-06-20 08:41:07 +00:00
distfiles="http://xbps.googlecode.com/files/xbps-$version.tar.gz"
2013-01-24 08:44:57 +00:00
checksum=91e0ae3c6cf807e1f66e45d84c1913d9d87c0eb201ae9c07bc3b4425beba401f
2013-02-06 16:30:17 +00:00
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="which pkg-config"
crossmakedepends="proplib-devel>=0.6.2 openssl-devel libfetch-devel
libarchive-devel>=3.1.2 confuse-devel atf-devel"
pre_build() {
sed -i "s|-L\$(LIBDIR)|-L/usr/${XBPS_CROSS_TRIPLET}/lib|g" config.mk
}
2013-02-06 16:30:17 +00:00
fi