Merge branch 'master' of git://github.com/logenkain/void-packages

This commit is contained in:
Enno Boland 2014-11-16 17:34:20 +01:00
commit c652833e7d
4 changed files with 86 additions and 0 deletions

View File

@ -1823,3 +1823,4 @@ libnpth.so.0 npth-1.1_1
libglfw.so.3 glfw-3.0.4_1
libusbmuxd.so.4 libusbmuxd-1.0.10_1
libimobiledevice.so.5 libimobiledevice-1.1.7_1
libstfl.so.0 stfl-0.23_1

1
srcpkgs/stfl-devel Symbolic link
View File

@ -0,0 +1 @@
stfl/

View File

@ -0,0 +1,52 @@
diff -rupN Makefile.cfg Makefile.cfg
--- Makefile.cfg 2009-05-31 13:20:39.000000000 -0500
+++ 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 stfl_internals.h stfl_internals.h
--- stfl_internals.h 2014-04-25 06:36:07.000000000 -0500
+++ 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;

32
srcpkgs/stfl/template Normal file
View File

@ -0,0 +1,32 @@
# Template file for 'stfl'
pkgname=stfl
version=0.23
revision=1
build_style=gnu-makefile
hostmakedepends="swig"
makedepends="ncurses-devel"
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
do_build(){
unset LDFLAGS
}
post_install(){
ln -sf libstfl.so.${version} ${DESTDIR}/usr/lib/libstfl.so.0
}
# Devel
stfl-devel_package() {
depends="stfl>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}