diff --git a/curses-lib/build b/curses-lib/build new file mode 100755 index 0000000..c792d8c --- /dev/null +++ b/curses-lib/build @@ -0,0 +1,14 @@ +wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz +tar -xf ncurses-6.2.tar.gz +cd ncurses-6.2 +sed -i s/mawk// configure +mkdir build +pushd build +../configure +make -C include +make -C progs tic +popd +./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec +make +make install DESTDIR="$1" +echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so diff --git a/curses-lib/package b/curses-lib/package new file mode 100755 index 0000000..246cd3d --- /dev/null +++ b/curses-lib/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="2.6" +pkg_config_name="curses-lib" +pkg_config_makedepends="" +pkg_config_depends="" diff --git a/pthread/build b/pthread/build new file mode 100644 index 0000000..956b992 --- /dev/null +++ b/pthread/build @@ -0,0 +1,11 @@ +wget https://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz +tar -xf pth-2.0.7.tar.gz +cd pth-2.0.7.tar.gz +sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in +./configure --prefix=/usr --disable-static --mandir=/usr/share/man +make +make install && +install -v -m755 -d /usr/share/doc/pth-2.0.7 && +install -v -m644 README PORTING SUPPORT TESTS \ + /usr/share/doc/pth-2.0.7 + diff --git a/pthread/package b/pthread/package new file mode 100755 index 0000000..f7ea00a --- /dev/null +++ b/pthread/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="2.0.7" +pkg_config_name="pthread" +pkg_config_makedepends="" +pkg_config_depends=""