mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
xbps-git: repair cross builds: use custom build style.
This commit is contained in:
parent
623a4d8daf
commit
5857489d33
1 changed files with 12 additions and 4 deletions
|
@ -7,10 +7,6 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.voidlinux.eu/xbps"
|
homepage="http://www.voidlinux.eu/xbps"
|
||||||
license="Simplified BSD"
|
license="Simplified BSD"
|
||||||
|
|
||||||
build_style=configure
|
|
||||||
configure_script="env HAVE_VASPRINTF=1 ./configure"
|
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc --enable-debug --enable-static --enable-tests"
|
|
||||||
|
|
||||||
hostmakedepends="which pkg-config"
|
hostmakedepends="which pkg-config"
|
||||||
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel atf-devel"
|
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel atf-devel"
|
||||||
|
|
||||||
|
@ -25,6 +21,18 @@ do_fetch() {
|
||||||
git clone ${url} ${pkgname}-${version}
|
git clone ${url} ${pkgname}-${version}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug --enable-static --enable-tests
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make DESTDIR=$DESTDIR install
|
||||||
|
}
|
||||||
|
|
||||||
libxbps-git_package() {
|
libxbps-git_package() {
|
||||||
short_desc+=" - runtime library"
|
short_desc+=" - runtime library"
|
||||||
provides="libxbps-${version}_${revision}"
|
provides="libxbps-${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue