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