summaryrefslogtreecommitdiffhomepage
path: root/groups.d/211.native_packages_cmdline.d/terminally_tetris.package
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
commitb2c1ea9526151c4fed9dca8348019d718f489e76 (patch)
tree4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/211.native_packages_cmdline.d/terminally_tetris.package
parent4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff)
downloadmidipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2
midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz
Implements single package files.
Diffstat (limited to 'groups.d/211.native_packages_cmdline.d/terminally_tetris.package')
-rw-r--r--groups.d/211.native_packages_cmdline.d/terminally_tetris.package14
1 files changed, 14 insertions, 0 deletions
diff --git a/groups.d/211.native_packages_cmdline.d/terminally_tetris.package b/groups.d/211.native_packages_cmdline.d/terminally_tetris.package
new file mode 100644
index 00000000..ae5336ad
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/terminally_tetris.package
@@ -0,0 +1,14 @@
+: ${PKG_TERMINALLY_TETRIS_DEPENDS:="ncurses"};
+: ${PKG_TERMINALLY_TETRIS_URLS_GIT:=terminally_tetris=https://github.com/thecardkid/terminally-tetris.git@master};
+: ${PKG_TERMINALLY_TETRIS_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_TERMINALLY_TETRIS_CFLAGS_BUILD_EXTRA:="-std=gnu99 -g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_TERMINALLY_TETRIS_INSTALL_FILES_V2:="
+ ../terminally_tetris/build/ttetris=bin/%[FNAME]
+ ../terminally_tetris/man/ttetris.1=share/man/man1/%[FNAME]"};
+: ${PKG_TERMINALLY_TETRIS_IN_TREE:=1};
+: ${PKG_TERMINALLY_TETRIS_LDFLAGS_BUILD_EXTRA:="-lncurses -Wl,--as-needed -ltinfo -Wl,--no-as-needed"};
+: ${PKG_TERMINALLY_TETRIS_MAKEFLAGS_BUILD_EXTRA_LIST:=C=${DEFAULT_NATIVE_CC}};
+
+ex_pkg_register "terminally_tetris" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0