summaryrefslogtreecommitdiff
path: root/data/ncurses5-libs/make.sh
diff options
context:
space:
mode:
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 ..