bglibs: unbreak native build; set nocross for now.
This commit is contained in:
parent
4198fee0b7
commit
55a3c21f8c
1 changed files with 7 additions and 4 deletions
|
@ -2,9 +2,8 @@
|
||||||
pkgname=bglibs
|
pkgname=bglibs
|
||||||
version=2.03
|
version=2.03
|
||||||
revision=1
|
revision=1
|
||||||
only_for_archs="i686 x86_64"
|
nocross=yes
|
||||||
build_style=gnu-makefile
|
hostmakedepends="libtool perl"
|
||||||
makedepends="libtool perl"
|
|
||||||
short_desc="A collection of libraries by Bruce Guenter"
|
short_desc="A collection of libraries by Bruce Guenter"
|
||||||
maintainer="bougyman <tj@rubyists.com>"
|
maintainer="bougyman <tj@rubyists.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -12,6 +11,11 @@ homepage="http://untroubled.org/bglibs/"
|
||||||
distfiles="http://untroubled.org/bglibs/bglibs-2.03.tar.gz"
|
distfiles="http://untroubled.org/bglibs/bglibs-2.03.tar.gz"
|
||||||
checksum=fcc80b2deef7819abc9c155c4f393f4fc51e73400139c1c78bbe3015f2b12739
|
checksum=fcc80b2deef7819abc9c155c4f393f4fc51e73400139c1c78bbe3015f2b12739
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# disable tests
|
||||||
|
sed -i '/^all: /s/selftests//' Makefile
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
echo "/usr/lib/bglibs/include" > conf-include
|
echo "/usr/lib/bglibs/include" > conf-include
|
||||||
echo "/usr/lib/bglibs/lib" > conf-lib
|
echo "/usr/lib/bglibs/lib" > conf-lib
|
||||||
|
@ -20,7 +24,6 @@ do_build() {
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/lib/bglibs
|
vmkdir usr/lib/bglibs
|
||||||
install_prefix="${DESTDIR}" make install
|
install_prefix="${DESTDIR}" make install
|
||||||
|
|
Loading…
Reference in a new issue