added curses and pthread
This commit is contained in:
parent
50361e8854
commit
12a9cd48b0
4 changed files with 35 additions and 0 deletions
14
curses-lib/build
Executable file
14
curses-lib/build
Executable file
|
@ -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
|
5
curses-lib/package
Executable file
5
curses-lib/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="2.6"
|
||||
pkg_config_name="curses-lib"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
11
pthread/build
Normal file
11
pthread/build
Normal file
|
@ -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
|
||||
|
5
pthread/package
Executable file
5
pthread/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="2.0.7"
|
||||
pkg_config_name="pthread"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
Loading…
Reference in a new issue