From 5857489d335bbb7fcf4b642ccc88e9410258a918 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 9 Feb 2014 12:16:35 +0100 Subject: [PATCH] xbps-git: repair cross builds: use custom build style. --- srcpkgs/xbps-git/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/xbps-git/template b/srcpkgs/xbps-git/template index 61ce05fecc8..ae6cb9824f4 100644 --- a/srcpkgs/xbps-git/template +++ b/srcpkgs/xbps-git/template @@ -7,10 +7,6 @@ maintainer="Juan RP " 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}"