xbps-git: all subpkgs can be cross built now.
This commit is contained in:
parent
464364d079
commit
0349eac8a3
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'xbps-git'
|
# Template file for 'xbps-git'
|
||||||
pkgname=xbps-git
|
pkgname=xbps-git
|
||||||
version=20130215
|
version=20130216
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
|
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
|
||||||
--enable-static --enable-debug"
|
--enable-static --enable-debug --enable-tests"
|
||||||
short_desc="The XBPS package system (development branch)"
|
short_desc="The XBPS package system (development branch)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://code.google.com/p/xbps"
|
homepage="http://code.google.com/p/xbps"
|
||||||
|
@ -15,7 +15,7 @@ noextract=yes
|
||||||
provides="xbps-${version}"
|
provides="xbps-${version}"
|
||||||
replaces="xbps>=0 xbps-devel>=0"
|
replaces="xbps>=0 xbps-devel>=0"
|
||||||
conf_files="/etc/xbps/xbps.conf"
|
conf_files="/etc/xbps/xbps.conf"
|
||||||
subpackages="libxbps-git libxbps-devel-git xbps-static-git"
|
subpackages="libxbps-git libxbps-devel-git xbps-static-git xbps-tests-git"
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
local url="git://github.com/xtraeme/xbps"
|
local url="git://github.com/xtraeme/xbps"
|
||||||
|
@ -24,16 +24,12 @@ do_fetch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
depends="xbps-triggers libxbps>=${version}"
|
depends="xbps-triggers libxbps>=${version}"
|
||||||
makedepends="git which pkg-config"
|
makedepends="git which pkg-config proplib-devel openssl-devel libfetch-devel
|
||||||
crossmakedepends="proplib-devel>=0.6.2 openssl-devel libfetch-devel
|
libarchive-devel confuse-devel atf-devel"
|
||||||
libarchive-devel confuse-devel"
|
|
||||||
|
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
subpackages="libxbps-git libxbps-devel-git xbps-static-git"
|
|
||||||
configure_script="env PKG_CONFIG_LIBDIR=/usr/${XBPS_CROSS_TRIPLET}/lib/pkgconfig ./configure"
|
configure_script="env PKG_CONFIG_LIBDIR=/usr/${XBPS_CROSS_TRIPLET}/lib/pkgconfig ./configure"
|
||||||
else
|
makedepends="git which pkg-config"
|
||||||
configure_args="${configure_args} --enable-tests"
|
crossmakedepends="proplib-devel openssl-devel libfetch-devel
|
||||||
makedepends="${makedepends} proplib-devel openssl-devel libarchive-devel"
|
libarchive-devel confuse-devel atf-devel"
|
||||||
makedepends="${makedepends} libfetch-devel confuse-devel atf-devel>=0.16"
|
|
||||||
subpackages="${subpackages} xbps-tests-git"
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue