New package: stfl-0.23

This commit is contained in:
Logen Kain 2014-11-13 23:43:05 -06:00
parent 81f35685f3
commit 6bb6454fb8
3 changed files with 78 additions and 0 deletions

View file

@ -1821,3 +1821,4 @@ libfm-qt5.so.1 libfm-qt5-0.8.0_1
libqtermwidget5.so.0 qtermwidget-0.6.0_1
libnpth.so.0 npth-1.1_1
libglfw.so.3 glfw-3.0.4_1
libstfl.so.0 stfl-0.23_1

View file

@ -0,0 +1,52 @@
diff -rupN orig-stfl-0.21/Makefile.cfg stfl-0.23/Makefile.cfg
--- orig-stfl-0.21/Makefile.cfg 2009-05-31 13:20:39.000000000 -0500
+++ stfl-0.23/Makefile.cfg 2014-11-13 22:42:41.460682486 -0600
@@ -19,11 +19,11 @@
#
export libdir ?= lib
-export prefix ?= /usr/local
+export prefix ?= /usr
export DESTDIR ?= /
ifneq ($(shell spl-config --cflags 2>/dev/null),)
-FOUND_SPL = 1
+FOUND_SPL = 0
else
FOUND_SPL = 0
endif
@@ -35,19 +35,19 @@ FOUND_SWIG = 0
endif
ifneq ($(shell perl -le 'print 1' 2>/dev/null),)
-FOUND_PERL5 = 1
+FOUND_PERL5 = 0
else
FOUND_PERL5 = 0
endif
ifneq ($(shell python -c 'print 1' 2>/dev/null),)
-FOUND_PYTHON = 1
+FOUND_PYTHON = 0
else
FOUND_PYTHON = 0
endif
ifneq ($(shell ruby -e 'puts 1' 2>/dev/null),)
-FOUND_RUBY = 1
+FOUND_RUBY = 0
else
FOUND_RUBY = 0
endif
diff -rupN orig-stfl-0.21/stfl_internals.h stfl-0.23/stfl_internals.h
--- orig-stfl-0.21/stfl_internals.h 2014-04-25 06:36:07.000000000 -0500
+++ stfl-0.23/stfl_internals.h 2014-11-13 22:41:38.413685526 -0600
@@ -28,7 +28,7 @@ extern "C" {
#endif
#include "stfl.h"
-#include <ncursesw/ncurses.h>
+#include <ncurses.h>
#include <pthread.h>
struct stfl_widget_type;

25
srcpkgs/stfl/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'stfl'
pkgname=stfl
version=0.23
revision=1
build_style=gnu-makefile
hostmakedepends="swig patch"
makedepends="ncurses-devel"
depends="ncurses"
short_desc="Curses-based widget set for text terminals"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-3"
homepage="http://www.clifford.at/stfl/"
distfiles="http://www.clifford.at/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde
post_extract(){
patch -Np1 -i ${FILESDIR}/stfl-void.patch
}
do_build(){
LDFLAGS=""
}
post_install(){
ln -sf libstfl.so.${version} ${DESTDIR}/usr/lib/libstfl.so.0
}