summaryrefslogtreecommitdiffhomepage
path: root/groups.d/231.native_packages_etc.d/ltris.package
diff options
context:
space:
mode:
Diffstat (limited to 'groups.d/231.native_packages_etc.d/ltris.package')
-rw-r--r--groups.d/231.native_packages_etc.d/ltris.package13
1 files changed, 13 insertions, 0 deletions
diff --git a/groups.d/231.native_packages_etc.d/ltris.package b/groups.d/231.native_packages_etc.d/ltris.package
new file mode 100644
index 00000000..3bfc9be2
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/ltris.package
@@ -0,0 +1,13 @@
+: ${PKG_LTRIS_DEPENDS:="sdl1"};
+: ${PKG_LTRIS_SHA256SUM:=0ec4ad053e066a296529e923c2f626fa0a19c094c5ae03e44359f9c9e50955a8};
+: ${PKG_LTRIS_VERSION:=1.2.3};
+: ${PKG_LTRIS_URL:=https://sources.voidlinux-ppc.org/ltris-${PKG_LTRIS_VERSION}/ltris-${PKG_LTRIS_VERSION}.tar.gz};
+: ${PKG_LTRIS_CONFIGURE_ARGS_EXTRA:="--with-sdl-prefix=${PREFIX_NATIVE} SDL_LIBS=-L${PREFIX_NATIVE}/lib SDL_CFLAGS=-I${PREFIX_NATIVE}/include"};
+: ${PKG_LTRIS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/SDL -std=gnu99"};
+: ${PKG_LTRIS_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib -L${PREFIX_NATIVE}/lib/w32lib"};
+: ${PKG_LTRIS_ENV_VARS_EXTRA:="LIBS=-lSDL"};
+: ${PKG_LTRIS_IN_TREE:=1};
+
+ex_pkg_register "ltris" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0