2012-07-06 14:59:20 +00:00
|
|
|
# Template file for 'xbps-git'
|
|
|
|
pkgname=xbps-git
|
2013-02-20 12:01:47 +00:00
|
|
|
version=20130220
|
2013-02-03 08:47:05 +00:00
|
|
|
revision=1
|
2010-05-19 20:45:31 +00:00
|
|
|
build_style=configure
|
2012-07-19 14:02:37 +00:00
|
|
|
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
|
2013-02-16 13:30:06 +00:00
|
|
|
--enable-static --enable-debug --enable-tests"
|
2009-11-07 11:13:39 +00:00
|
|
|
short_desc="The XBPS package system (development branch)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-04 15:35:13 +00:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
2012-07-31 15:56:32 +00:00
|
|
|
license="Simplified BSD"
|
2009-11-07 11:13:39 +00:00
|
|
|
|
2013-02-06 17:55:36 +00:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
provides="xbps-${version}"
|
|
|
|
replaces="xbps>=0 xbps-devel>=0"
|
|
|
|
conf_files="/etc/xbps/xbps.conf"
|
2013-02-16 13:30:06 +00:00
|
|
|
subpackages="libxbps-git libxbps-devel-git xbps-static-git xbps-tests-git"
|
2013-02-06 17:55:36 +00:00
|
|
|
|
2011-10-14 17:24:20 +00:00
|
|
|
do_fetch() {
|
2011-07-02 16:03:22 +00:00
|
|
|
local url="git://github.com/xtraeme/xbps"
|
2012-07-31 15:56:32 +00:00
|
|
|
msg_normal "Fetching source from $url ...\n"
|
2011-10-14 17:24:20 +00:00
|
|
|
git clone ${url} ${pkgname}-${version}
|
2009-11-07 11:13:39 +00:00
|
|
|
}
|
2013-02-06 17:55:36 +00:00
|
|
|
|
|
|
|
depends="xbps-triggers libxbps>=${version}"
|
2013-02-16 13:30:06 +00:00
|
|
|
makedepends="git which pkg-config proplib-devel openssl-devel libfetch-devel
|
|
|
|
libarchive-devel confuse-devel atf-devel"
|
2013-02-06 17:55:36 +00:00
|
|
|
|
|
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
|
|
configure_script="env PKG_CONFIG_LIBDIR=/usr/${XBPS_CROSS_TRIPLET}/lib/pkgconfig ./configure"
|
2013-02-16 13:30:06 +00:00
|
|
|
makedepends="git which pkg-config"
|
|
|
|
crossmakedepends="proplib-devel openssl-devel libfetch-devel
|
|
|
|
libarchive-devel confuse-devel atf-devel"
|
2013-02-06 17:55:36 +00:00
|
|
|
fi
|