xbps: bootstrap pkg; only build -tests pkg in chroot.
This commit is contained in:
parent
0f3f4c8177
commit
bdc5adbfac
1 changed files with 19 additions and 11 deletions
|
@ -3,14 +3,30 @@ pkgname=xbps
|
||||||
version=0.26
|
version=0.26
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc --enable-static --enable-debug --enable-tests"
|
configure_args="--prefix=/usr --sysconfdir=/etc --enable-static --enable-debug"
|
||||||
hostmakedepends="which pkg-config"
|
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel"
|
||||||
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel atf-devel"
|
|
||||||
short_desc="The XBPS package system utilities"
|
short_desc="The XBPS package system utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://xtraeme.github.io/xbps"
|
homepage="http://xtraeme.github.io/xbps"
|
||||||
license="Simplified BSD"
|
license="Simplified BSD"
|
||||||
|
|
||||||
|
bootstrap=yes
|
||||||
|
|
||||||
|
if [ "$CHROOT_READY" ]; then
|
||||||
|
hostmakedepends="which pkg-config"
|
||||||
|
makedepends+=" atf-devel"
|
||||||
|
configure_args+=" --enable-tests"
|
||||||
|
|
||||||
|
xbps-tests_package() {
|
||||||
|
short_desc+=" - Kyua testsuite"
|
||||||
|
replaces="xbps<0.16.3_2 xbps-tests>=0"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/tests
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
git clone -b${version} git://github.com/xtraeme/xbps.git xbps-${version}
|
git clone -b${version} git://github.com/xtraeme/xbps.git xbps-${version}
|
||||||
}
|
}
|
||||||
|
@ -44,14 +60,6 @@ xbps-static_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xbps-tests_package() {
|
|
||||||
short_desc+=" - Kyua testsuite"
|
|
||||||
replaces="xbps<0.16.3_2 xbps-tests>=0"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/tests
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
xbps_package() {
|
xbps_package() {
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
conf_files="/etc/xbps/xbps.conf"
|
conf_files="/etc/xbps/xbps.conf"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue