summaryrefslogtreecommitdiff
path: root/data/ncurses5-libs/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 11:10:57 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 11:10:57 -1000
commit3c2e7cb049da35fff8715d510814dd55a1b5b697 (patch)
treeba8332459d128a86c4ff30914263717b0265b074 /data/ncurses5-libs/make.sh
parent1a78e13b7e37dca20f2d985a00010cc43d6a2a99 (diff)
Add debianutils, libfdk-aac, libgmp10, libidn2, libtasn1, libunistring, lz4, ncurses5-libs, and openpam to replace pam
Diffstat (limited to 'data/ncurses5-libs/make.sh')
-rw-r--r--data/ncurses5-libs/make.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/ncurses5-libs/make.sh b/data/ncurses5-libs/make.sh
new file mode 100644
index 000000000..f34b37b05
--- /dev/null
+++ b/data/ncurses5-libs/make.sh
@@ -0,0 +1,25 @@
+shopt -s extglob
+pkg:setup
+cd ..
+dir=$(echo *)
+mkdir bld-ncurses{,w}
+cd bld-ncurses
+flags='--with-shared --without-normal --without-debug --enable-sigwinch --disable-mixed-case --enable-termcap'
+PKG_CONF=../${dir}/configure PKG_MCPU=-marm pkg:configure ${flags}
+make -j8
+pkg: mkdir -p /usr/lib
+cd lib
+for lib in *.5.dylib; do
+ pkg: cp ${lib} /usr/lib/
+ pkg: ln -s ${lib} /usr/lib/$(basename ${lib} .5.dylib)5.dylib
+done
+cd ..
+cd ../bld-ncursesw
+PKG_CONF=../${dir}/configure PKG_MCPU=-marm pkg:configure ${flags} --disable-overwrite --enable-widec
+make -j8
+cd lib
+for lib in *.5.dylib; do
+ pkg: cp ${lib} /usr/lib
+ pkg: ln -s ${lib} /usr/lib/$(basename ${lib} .5.dylib)5.dylib
+done
+cd ..