Compare commits

...

10 commits

Author SHA1 Message Date
d1a92bbeef Merge pull request 'Add grub, zstd, vim' (#27) from Ohio2/repo:master into master
Reviewed-on: #27
2021-07-16 23:35:59 +01:00
Ohio2
f42706dce4 ok fixed 2021-07-16 22:33:05 +02:00
Ohio2
e90bff512f ok 2021-07-16 22:32:08 +02:00
Ohio2
0b699eb08e Revert "add grub and zstd packages"
This reverts commit 357ffbc80a.

ok
2021-07-16 22:31:10 +02:00
Ohio2
5fb7ca5148 revert two things 2021-07-16 22:26:13 +02:00
Ohio2
8f6c3e2b1a reverted removal of lb 2021-07-16 22:21:13 +02:00
Ohio2
e0b1b8a8b6 use curl -# instead of wget since wget shows ugly things 2021-07-16 22:19:27 +02:00
Ohio2
357ffbc80a add grub and zstd packages 2021-07-16 22:00:39 +02:00
Ohio2
f0f2baa210 linux-bin removed 2021-07-16 10:36:21 +02:00
Ohio2
72fe9c1185 removed linux-bin, added grub & added aps 2021-07-16 10:25:03 +02:00
6 changed files with 48 additions and 0 deletions

9
grub/build Executable file
View file

@ -0,0 +1,9 @@
wget https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz
tar -xf grub-2.06.tar.xz
cd grub-2.06
./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc --disable-efiemu --disable-werror
make
make DESTDIR="$1" install
mv -v $1/etc/bash_completion.d/grub $1/usr/share/bash-completion/completions

5
grub/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="2.6"
pkg_config_name="grub"
pkg_config_makedepends=""
pkg_config_depends=""

15
vim/build Executable file
View file

@ -0,0 +1,15 @@
wget https://anduin.linuxfromscratch.org/BLFS/vim/vim-8.2.2890.tar.gz
tar -xf vim-8.2.2890.tar.gz
cd vim-8.2.2890
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h &&
./configure --prefix=/usr --with-features=huge --enable-gui=gtk3 --with-tlib=ncursesw
make
make DESTDIR="$1"
ln -snfv ../vim/vim82/doc $1/usr/share/doc/vim-8.2.2890
rsync -avzcP --exclude="$1/dos/" --exclude="/spell/" \
ftp.nluug.nl::Vim/runtime/ ./runtime/
make -C src installruntime
vim -c ":helptags /usr/share/doc/vim-8.2.2890" -c ":q"

5
vim/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="8.2.2890"
pkg_config_name="zlib"
pkg_config_makedepends=""
pkg_config_depends=""

9
zstd/build Executable file
View file

@ -0,0 +1,9 @@
wget https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz
tar -xf zstd-1.5.0.tar.gz
cd zstd-1.5.0
make
make prefix="$1/usr"
rm -v $1/usr/lib/libzstd.a
mv -v $1/usr/lib/libzstd.so.* $1/lib
ln -sfv ../../lib/$(readlink $1/usr/lib/libzstd.so) $1/usr/lib/libzstd.so

5
zstd/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="1.5.0"
pkg_config_name="zstd"
pkg_config_makedepends=""
pkg_config_depends=""