From 7f5e6527c9412ec4b231dcd26de2c78abefac900 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Tue, 13 Jul 2021 01:13:05 +0200 Subject: [PATCH] add nano --- bash/build | 3 ++- nano/build | 10 ++++++++++ nano/package | 5 +++++ pthread/build | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) mode change 100644 => 100755 bash/build create mode 100755 nano/build create mode 100755 nano/package mode change 100644 => 100755 pthread/build diff --git a/bash/build b/bash/build old mode 100644 new mode 100755 index 04c270e..befa8b7 --- a/bash/build +++ b/bash/build @@ -1,6 +1,7 @@ wget https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz tar -xf bash-5.1.8.tar.gz cd bash-5.1.8 +sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile ./configure make -make install +make install DESTDIR-"$1" diff --git a/nano/build b/nano/build new file mode 100755 index 0000000..ceca9be --- /dev/null +++ b/nano/build @@ -0,0 +1,10 @@ +wget https://www.nano-editor.org/dist/v5/nano-5.8.tar.xz +tar -xf nano-5.8.tar.xz +cd nano-5.8 +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-utf8 \ + --docdir=/usr/share/doc/nano-5.8 +make +make install && +install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-5.8 diff --git a/nano/package b/nano/package new file mode 100755 index 0000000..f4235ae --- /dev/null +++ b/nano/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="5.8" +pkg_config_name="nano" +pkg_config_makedepends="" +pkg_config_depends="" diff --git a/pthread/build b/pthread/build old mode 100644 new mode 100755 index 956b992..f9309a8 --- a/pthread/build +++ b/pthread/build @@ -1,6 +1,6 @@ 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 +cd pth-2.0.7 sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in ./configure --prefix=/usr --disable-static --mandir=/usr/share/man make