xbps-git: repair cross builds: use custom build style.
This commit is contained in:
parent
623a4d8daf
commit
5857489d33
|
@ -7,10 +7,6 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
homepage="http://www.voidlinux.eu/xbps"
|
||||
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"
|
||||
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}
|
||||
}
|
||||
|
||||
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() {
|
||||
short_desc+=" - runtime library"
|
||||
provides="libxbps-${version}_${revision}"
|
||||
|
|
Loading…
Reference in New Issue