commit 8738b144b3683a4cdfd7c9f21e4562cfa2e48ea3
parent 3a3895e5c2e336446cae1bbc4fe5b33fe5a4bd38
Author: aabacchus <ben@bvnf.space>
Date: Wed, 12 May 2021 19:42:42 +0100
netbsd-curses: new package at 0.3.1
Diffstat:
5 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/netbsd-curses/build b/netbsd-curses/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+make \
+ LDFLAGS="$LDFLAGS -static" \
+ DESTDIR="$1" \
+ PREFIX=/usr \
+ all-static \
+ install-static
+
+# ncurses-compatible script
+install -Dm755 ncurses5-config "$1/usr/bin/ncurses5-config"
+
+# Install the license
+install -Dm755 COPYING "$1/usr/share/licenses/netbsd-curses/COPYING"
diff --git a/netbsd-curses/checksums b/netbsd-curses/checksums
@@ -0,0 +1,2 @@
+babd96b12dec5651aecb21e6a7b85822c2c118640efe3362f93017f153df3c33
+ef98c0436db92f73e6a208d2881159beab55d9d92091152c6b3d76cf8a26e0e4
diff --git a/netbsd-curses/files/ncurses5-config b/netbsd-curses/files/ncurses5-config
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo -lcurses -lterminfo
diff --git a/netbsd-curses/sources b/netbsd-curses/sources
@@ -0,0 +1,2 @@
+http://ftp.barfooze.de/pub/sabotage/tarballs/netbsd-curses-0.3.1.tar.xz
+files/ncurses5-config
diff --git a/netbsd-curses/version b/netbsd-curses/version
@@ -0,0 +1 @@
+0.3.1 1