bglibs: unbreak native build; set nocross for now.

This commit is contained in:
Juan RP 2015-03-31 07:26:42 +02:00
parent 4198fee0b7
commit 55a3c21f8c
1 changed files with 7 additions and 4 deletions

View File

@ -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 <tj@rubyists.com>"
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