parent
16d9997338
commit
7660e97f30
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template build file for 'glew'.
|
# Template build file for 'glew'.
|
||||||
pkgname=glew
|
pkgname=glew
|
||||||
version=2.1.0
|
version=2.1.0
|
||||||
revision=1
|
revision=2
|
||||||
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libXext-devel libXmu-devel libXi-devel glu-devel"
|
makedepends="libXext-devel libXmu-devel libXi-devel glu-devel"
|
||||||
short_desc="The OpenGL Extension Wrangler Library"
|
short_desc="The OpenGL Extension Wrangler Library"
|
||||||
|
@ -10,6 +11,7 @@ homepage="http://glew.sourceforge.net"
|
||||||
license="BSD, MIT, GPL-2"
|
license="BSD, MIT, GPL-2"
|
||||||
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
|
distfiles="${SOURCEFORGE_SITE}/glew/glew-${version}.tgz"
|
||||||
checksum=04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95
|
checksum=04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95
|
||||||
|
make_install_target="install.all"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i -e "s|lib64|lib|" config/Makefile.linux
|
sed -i -e "s|lib64|lib|" config/Makefile.linux
|
||||||
|
@ -18,8 +20,7 @@ do_build() {
|
||||||
LDFLAGS.EXTRA="$LDFLAGS" ${makejobs}
|
LDFLAGS.EXTRA="$LDFLAGS" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
make GLEW_DEST=${DESTDIR}/usr install.all
|
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue