mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
jinx: ncurses, readline and nano ports
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name=nano
|
||||
revision=1
|
||||
from_source=nano
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross"
|
||||
deps="mlibc ncurses"
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j ${parallelism} LDFLAGS='-ltinfo'
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR=${dest_dir}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
name=ncurses
|
||||
revision=1
|
||||
from_source=ncurses
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross libstdc++-v3"
|
||||
deps="mlibc"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --with-shared --without-normal --with-termlib --enable-pc-files --enable-widec
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
|
||||
echo "INPUT(-lncursesw)" > ${dest_dir}${prefix}/lib/libncurses.so
|
||||
echo "INPUT(-ltinfow)" > ${dest_dir}${prefix}/lib/libtinfo.so
|
||||
echo "INPUT(-lmenuw)" > ${dest_dir}${prefix}/lib/libmenu.so
|
||||
echo "INPUT(-lformw)" > ${dest_dir}${prefix}/lib/libform.so
|
||||
echo "INPUT(-lpanelw)" > ${dest_dir}${prefix}/lib/libpanel.so
|
||||
echo "INPUT(-lncursesw)" > ${dest_dir}${prefix}/lib/libcursesw.so
|
||||
cp ${dest_dir}${prefix}/lib/libncurses.so ${dest_dir}${prefix}/lib/libcurses.so
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
name=readline
|
||||
revision=1
|
||||
from_source=readline
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross"
|
||||
deps="mlibc ncurses"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --with-curses --disable-static
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism} SHLIB_LIBS="-lncursesw"
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install SHLIB_LIBS="-lncursesw" DESTDIR="${dest_dir}"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user