commit 3c1d04872630b97161e8a71bd420797acfbeacdc
parent 733a95b63e908e3d0ecf2afa16cac21dff79df50
Author: aabacchus <ben@bvnf.space>
Date: Thu, 13 May 2021 17:14:24 +0100
stfl: new package at 0.24
Diffstat:
5 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/stfl/build b/stfl/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# if we have pkgconf, use it to find the correct ncurses libs
+if command -v pkg-config >/dev/null; then
+ curses_libs=$(pkg-config --libs ncurses)
+else
+ # this works with the ncurses package in repo-main
+ curses_libs="-lncurses"
+fi
+
+sed -i 's/ncursesw\/ncurses.h/ncurses.h/' stfl_internals.h
+sed -i "s/-lncursesw/$curses_libs/" \
+ stfl.pc.in \
+ ruby/Makefile.snippet \
+ python/Makefile.snippet \
+ perl5/Makefile.PL \
+ Makefile
+
+make prefix=/usr DESTDIR="$1" install
diff --git a/stfl/checksums b/stfl/checksums
@@ -0,0 +1 @@
+d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090
diff --git a/stfl/depends b/stfl/depends
@@ -0,0 +1 @@
+ncurses
diff --git a/stfl/sources b/stfl/sources
@@ -0,0 +1 @@
+http://www.clifford.at/stfl/stfl-0.24.tar.gz
diff --git a/stfl/version b/stfl/version
@@ -0,0 +1 @@
+0.24 1