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

15 lines
645 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"
2019-05-17 00:18:48 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2018-10-06 20:20:14 +02:00
TERMUX_PKG_VERSION=1.5.3
2019-05-25 18:05:47 +02:00
TERMUX_PKG_REVISION=1
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
}