From 55a3c21f8c7be5f8fb973c5d94b60673aacf78e2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Mar 2015 07:26:42 +0200 Subject: [PATCH] bglibs: unbreak native build; set nocross for now. --- srcpkgs/bglibs/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/bglibs/template b/srcpkgs/bglibs/template index 7ce90b5d86f..617eea9706c 100644 --- a/srcpkgs/bglibs/template +++ b/srcpkgs/bglibs/template @@ -2,9 +2,8 @@ pkgname=bglibs version=2.03 revision=1 -only_for_archs="i686 x86_64" -build_style=gnu-makefile -makedepends="libtool perl" +nocross=yes +hostmakedepends="libtool perl" short_desc="A collection of libraries by Bruce Guenter" maintainer="bougyman " license="GPL-2" @@ -12,6 +11,11 @@ homepage="http://untroubled.org/bglibs/" distfiles="http://untroubled.org/bglibs/bglibs-2.03.tar.gz" checksum=fcc80b2deef7819abc9c155c4f393f4fc51e73400139c1c78bbe3015f2b12739 +pre_build() { + # disable tests + sed -i '/^all: /s/selftests//' Makefile +} + do_build() { echo "/usr/lib/bglibs/include" > conf-include echo "/usr/lib/bglibs/lib" > conf-lib @@ -20,7 +24,6 @@ do_build() { make } - do_install() { vmkdir usr/lib/bglibs install_prefix="${DESTDIR}" make install