forked from alnux/repo
add nano
This commit is contained in:
parent
298ad05a0b
commit
7f5e6527c9
4 changed files with 18 additions and 2 deletions
3
bash/build
Normal file → Executable file
3
bash/build
Normal file → Executable file
|
@ -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"
|
||||
|
|
10
nano/build
Executable file
10
nano/build
Executable file
|
@ -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
|
5
nano/package
Executable file
5
nano/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="5.8"
|
||||
pkg_config_name="nano"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
2
pthread/build
Normal file → Executable file
2
pthread/build
Normal file → Executable file
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue