From 66a10ef14a41f04c8b382ae156d121b314c31948 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Tue, 4 Apr 2017 08:16:58 -0300 Subject: [PATCH] New package: termbox-1.1.0 Closes: #6088 [via git-merge-pr] --- common/shlibs | 1 + srcpkgs/termbox-devel | 1 + srcpkgs/termbox/template | 26 ++++++++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 120000 srcpkgs/termbox-devel create mode 100644 srcpkgs/termbox/template diff --git a/common/shlibs b/common/shlibs index 9a5b532ae9..988e0ad1a3 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2891,3 +2891,4 @@ libffms2.so.4 libffms2-2.23.1_1 libduktape.so.201 duktape-2.1.1_1 liblsmash.so.2 liblsmash-2.9.1_1 libgnustep-base.so.1.25 gnustep-base-1.25.0_1 +libtermbox.so.1 termbox-1.1.0_1 diff --git a/srcpkgs/termbox-devel b/srcpkgs/termbox-devel new file mode 120000 index 0000000000..fd627fc29b --- /dev/null +++ b/srcpkgs/termbox-devel @@ -0,0 +1 @@ +termbox \ No newline at end of file diff --git a/srcpkgs/termbox/template b/srcpkgs/termbox/template new file mode 100644 index 0000000000..ff7af261a4 --- /dev/null +++ b/srcpkgs/termbox/template @@ -0,0 +1,26 @@ +# Template file for 'termbox' +pkgname=termbox +version=1.1.0 +revision=1 +build_style=waf +hostmakedepends="python" +short_desc="Library for writing text-based user interfaces" +maintainer="Diogo Leal " +license="MIT" +homepage="https://github.com/nsf/termbox/" +distfiles="https://github.com/nsf/termbox/archive/v${version}.tar.gz" +checksum=2743ee4aeb0ff39fadbaf945b76c43e6f6bba544156f2576282b775a3067d748 + +post_install() { + vlicense COPYING +} + +termbox-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include/ + vmove usr/lib/*.a + vmove usr/lib/*.so + } +}