From ba91ff67486b6a6839ea4fff2df8dcd9419ad162 Mon Sep 17 00:00:00 2001 From: night0721 Date: Sat, 10 Aug 2024 16:31:59 +0100 Subject: [PATCH] Add zlib-ng, make and gettext and other sources --- README.md | 4 ++-- init | 21 +++++++++++++++++---- sources.list | 4 ++++ 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 51876e0..f973b66 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ COS(Collection Of Suckless) is a tiny Linux distribution that aims to be as suck - File Manager: ccc - Window Manager: dwl - Dmenu: mew -- Misc: mandoc, libressl, zlib-ng +- Misc: mandoc, libressl, zlib-ng, make, gettext # Download Currently none. @@ -23,4 +23,4 @@ Currently none. Contributions are welcomed, feel free to open a pull request. # License -This project is licensed under the GNU Public License v3.0. See [LICENSE](https://github.com/night0721/cos/blob/master/LICENSE) for more information. +This project is licensed under the GNU Public License v3.0. See [LICENSE](https://github.com/coslinux/coslinux/blob/master/LICENSE) for more information. diff --git a/init b/init index ba6c670..0b7f4f4 100755 --- a/init +++ b/init @@ -93,20 +93,33 @@ git clone https://repo.or.cz/tinycc cd tinycc ./configure --config-musl --enable-static --disable-rpath --prefix="/mnt/cos/usr" --extra-cflags="-O3 -mtune=native -march=native -pipe -s -flto" make -ssu make DESTDIR=/mnt/cos install +make install git clone https://git.suckless.org/sbase cd sbase make -ssu make DESTDIR=/mnt/cos install +make install git clone https://git.suckless.org/ubase cd ubase make -ssu make DESTDIR=/mnt/cos install +make install git clone https://git.musl-libc.org/git/musl cd musl ./configure make -make DESTDIR=/mnt/cos install +make install +git clone https://github.com/zlib-ng/zlib-ng +cd zlib-ng +./configure --zlib-compat +make +make install +tar -xf make-4.4.1.tar.gz +./configure --prefix=/mnt/cos/usr +make +ssu make install +tar -xf gettext-0.22.5.tar.gz +./configure --enable-threads=posix --disable-java --enable-static --prefix=/mnt/cos/usr +make +ssu make install cat > /etc/fstab << "EOF" /dev/nvme0n1p4 / ext4 rw,relatime 0 1 diff --git a/sources.list b/sources.list index 212c32c..d0f5170 100644 --- a/sources.list +++ b/sources.list @@ -9,3 +9,7 @@ https://codeberg.org/night0721/90s https://codeberg.org/night0721/vip https://codeberg.org/night0721/bob https://codeberg.org/night0721/ccc +https://github.com/zlib-ng/zlib-ng +https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.10.3.tar.xz +https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz +https://ftp.gnu.org/pub/gnu/gettext/gettext-0.22.5.tar.gz