From b2c1ea9526151c4fed9dca8348019d718f489e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Wed, 24 Apr 2024 15:24:48 +0200 Subject: Implements single package files. --- .../terminally_tetris.package | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 groups.d/211.native_packages_cmdline.d/terminally_tetris.package (limited to 'groups.d/211.native_packages_cmdline.d/terminally_tetris.package') 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 -- cgit v1.2.3