termux-packages/x11-packages/libepoxy/build.sh

14 lines
631 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/anholt/libepoxy
TERMUX_PKG_DESCRIPTION="Library handling OpenGL function pointer management"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
2018-10-06 20:20:14 +02:00
TERMUX_PKG_VERSION=1.5.3
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://github.com/anholt/libepoxy/releases/download/${TERMUX_PKG_VERSION}/libepoxy-${TERMUX_PKG_VERSION}.tar.xz
2018-10-06 20:20:14 +02:00
TERMUX_PKG_SHA256=002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d
TERMUX_PKG_DEPENDS="mesa"
2018-09-10 00:42:26 +02:00
termux_step_pre_configure () {
export EGL_CFLAGS=${CFLAGS}
export EGL_LIBS="-L${TERMUX_STANDALONE_TOOLCHAIN}/sysroot/lib -lEGL"
2018-09-10 00:42:26 +02:00
}