summaryrefslogtreecommitdiff
path: root/data/ncurses5-libs/make.sh
blob: f34b37b0541389c85a330fb7256a8255099d0beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 ..