mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-22 01:12:41 +00:00
new package: sdl2-gfx
This commit is contained in:
20
x11-packages/sdl2-gfx/build.sh
Normal file
20
x11-packages/sdl2-gfx/build.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://www.ferzkopp.net/joomla/content/view/19/14/
|
||||
TERMUX_PKG_DESCRIPTION="Graphics primitives and surface functions for SDL2"
|
||||
TERMUX_PKG_LICENSE="ZLIB"
|
||||
TERMUX_PKG_LICENSE_FILE="COPYING"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.0.4
|
||||
TERMUX_PKG_SRCURL=https://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262
|
||||
TERMUX_PKG_DEPENDS="sdl2"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--disable-mmx
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
mkdir -p m4
|
||||
cp $TERMUX_PREFIX/share/aclocal/sdl2.m4 m4/
|
||||
autoreconf -fi -Im4
|
||||
|
||||
LDFLAGS+=" -lm"
|
||||
}
|
||||
Reference in New Issue
Block a user