diff options
Diffstat (limited to 'repo')
27 files changed, 426 insertions, 0 deletions
diff --git a/repo/core/coreutils.xibuild b/repo/core/coreutils.xibuild new file mode 100644 index 0000000..252bd90 --- /dev/null +++ b/repo/core/coreutils.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +DEPS=(glibc acl attr gmp libcap openssl) + +SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-9.0.tar.xz +DESC="The GNU coreutilities" + +build () { + autoreconf -fiv + + FORCE_UNSAFE_CONFIGURE=1 ./configure \ + --prefix=/usr \ + --enable-no-install-program=kill,uptime + make + make DESTDIR=$PKG_DEST install +} + +package () { + mv -v $PKG_DEST/usr/bin/chroot $PKG_DEST/usr/sbin + mv -v $PKG_DEST/usr/share/man/man1/chroot.1 $PKG_DEST/usr/share/man/man8/chroot.8 + sed -i 's/"1"/"8"/' $PKG_DEST/usr/share/man/man8/chroot.8 +} diff --git a/repo/core/diffutils.xibuild b/repo/core/diffutils.xibuild new file mode 100644 index 0000000..2a14984 --- /dev/null +++ b/repo/core/diffutils.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc bash) + +SOURCE=https://ftp.gnu.org/gnu/diffutils/diffutils-3.8.tar.xz +DESC="Utility programs for creating patch files" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/e2fsprogs.xibuild b/repo/core/e2fsprogs.xibuild new file mode 100644 index 0000000..9568fdf --- /dev/null +++ b/repo/core/e2fsprogs.xibuild @@ -0,0 +1,27 @@ +#!/bin/bash + +DEPS=(sh util-linux) + +SOURCE=https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.4/e2fsprogs-1.46.4.tar.xz +DESC="GNU's awk" + +build () { + mkdir -v build + cd build + ../configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-fsck + make + make DESTDIR=$PKG_DEST install +} + + +package () { + rm -fv $PKG_DEST/usr/lib/{libcom_err,libe2p,libext2fs,libss}.a + gunzip -v $PKG_DEST/usr/share/info/libext2fs.info.gz + install-info --dir-file=$PKG_DEST/usr/share/info/dir $PKG_DEST/usr/share/info/libext2fs.info +} diff --git a/repo/core/elfutils.xibuild b/repo/core/elfutils.xibuild new file mode 100644 index 0000000..173ddd5 --- /dev/null +++ b/repo/core/elfutils.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=git://sourceware.org/git/elfutils.git +DESC="Handle ELF object files and DWARF debugging information" + +build () { + ./configure --prefix=/usr --disable-debuginfod --enable-libdebuginfod=dummy + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/findutils.xibuild b/repo/core/findutils.xibuild new file mode 100644 index 0000000..899abfb --- /dev/null +++ b/repo/core/findutils.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc sh) + +SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-4.8.0.tar.xz +DESC="GNU utilities to locate files" + +build () { + ./configure --prefix=/usr --localstatedir=/var/lib/locate + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/gawk.xibuild b/repo/core/gawk.xibuild new file mode 100644 index 0000000..e06c4e3 --- /dev/null +++ b/repo/core/gawk.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(sh glibc mpfr) + +SOURCE=https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz +DESC="GNU's awk" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/groff.xibuild b/repo/core/groff.xibuild new file mode 100644 index 0000000..83d970a --- /dev/null +++ b/repo/core/groff.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(perl) + +SOURCE=https://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz +DESC="GNU troff text-formatting system" + +build () { + PAGE=A4 ./configure --prefix=/usr + make -j1 + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/grub.xibuild b/repo/core/grub.xibuild new file mode 100644 index 0000000..9a88be5 --- /dev/null +++ b/repo/core/grub.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(sh xz gettext device-mapper) + +SOURCE=https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz +DESC="GNU GRand Unified Bootloader v2" + +build () { + ./configure --prefix=/usr --sysconfdic=/etc --disable-werror + make + make DESTDIR=$PKG_DEST install +} + +package () { + mv -v $PKG_DEST/etc/bash_completion.d/grub $PKG_DEST/usr/share/bash-completion/completions +} diff --git a/repo/core/gzip.xibuild b/repo/core/gzip.xibuild new file mode 100644 index 0000000..09af6a4 --- /dev/null +++ b/repo/core/gzip.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc bash less) + +SOURCE=https://ftp.gnu.org/gnu/gzip/gzip-1.11.zip +DESC="GNU compression utilities" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/iproute2.xibuild b/repo/core/iproute2.xibuild new file mode 100644 index 0000000..154e667 --- /dev/null +++ b/repo/core/iproute2.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc iptables libelf) + +SOURCE=https://git.kernel.org/pub/scm/network/iproute2/iproute2.git +DESC="" + +build () { + sed -i /ARPD/d Makefile + rm -fv man/man8/arpd.8 + + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/kbd.xibuild b/repo/core/kbd.xibuild new file mode 100644 index 0000000..3b18f26 --- /dev/null +++ b/repo/core/kbd.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc pam) + +SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-2.4.0.tar.xz +DESC="Keytable files and keyboard utilities" + +build () { + ./configure --prefix=/usr --disable-vlock + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/libffi.xibuild b/repo/core/libffi.xibuild new file mode 100644 index 0000000..872cb83 --- /dev/null +++ b/repo/core/libffi.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz +DESC="Portable foreign function interface library" + +build () { + ./configure --prefix=/usr --disable-static --with-gcc-arch=native --disable-exec-static-tramp + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/libpipeline.xibuild b/repo/core/libpipeline.xibuild new file mode 100644 index 0000000..2568165 --- /dev/null +++ b/repo/core/libpipeline.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://gitlab.com/cjwatson/libpipeline +DESC="A library for manipulating pipelines of subprocesses in a flexible and convenient way" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/make.xibuild b/repo/core/make.xibuild new file mode 100644 index 0000000..ca00d16 --- /dev/null +++ b/repo/core/make.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/gnu/make/make-4.3.tar.lz +DESC="GNU make utility" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/man-db.xibuild b/repo/core/man-db.xibuild new file mode 100644 index 0000000..92ce361 --- /dev/null +++ b/repo/core/man-db.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +DEPS=(bash gdbm zlib groff libpipeline less) + +SOURCE=http://download.savannah.nongnu.org/releases/man-db/man-db-2.9.4.tar.xz +DESC="A utility for reading man pages" + +build () { + ./configure --prefix=/usr + ./configure --prefix=/usr \ + --docdir=/usr/share/doc/man-db-2.9.4 \ + --sysconfdir=/etc \ + --disable-setuid \ + --enable-cache-owner=bin \ + --with-browser=/usr/bin/lynx \ + --with-vgrind=/usr/bin/vgrind \ + --with-grap=/usr/bin/grap \ + --with-systemdtmpfilesdir= \ + --with-systemdsystemunitdir= + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/openssl.xibuild b/repo/core/openssl.xibuild new file mode 100644 index 0000000..a1cdca0 --- /dev/null +++ b/repo/core/openssl.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(glic) + +SOURCE=https://github.com/openssl/openssl +DESC="The open source management tools and libraries for cryptography" + +build () { + ./configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared zlib-dynamic + make + make MANSUFFIX=ssl DESTDIR=$PKG_DEST install +} + +package () { + mkdir -pv $PKG_DEST/usr/share/doc/openssl + cp -vfr doc/* $PKG_DEST/usr/share/doc/openssl +} diff --git a/repo/core/patch.xibuild b/repo/core/patch.xibuild new file mode 100644 index 0000000..728fc1d --- /dev/null +++ b/repo/core/patch.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc attr) + +SOURCE=https://ftp.gnu.org/gnu/patch/patch-2.7.tar.xz +DESC="A utility to apply patch files to a file" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/procps-ng.xibuild b/repo/core/procps-ng.xibuild new file mode 100644 index 0000000..34d49cf --- /dev/null +++ b/repo/core/procps-ng.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc ncurses) + +SOURCE=https://gitlab.com/procps-ng/procps +BRANCH=v3.3.17 +DESC="Utilities for monitoring your system and its processes" + +build () { + ./configure --prefix=/usr \ + --docdir=/usr/share/doc/procps-ng-3.3.17 \ + --disable-static \ + --disable-kill + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/python.xibuild b/repo/core/python.xibuild new file mode 100644 index 0000000..06d0b44 --- /dev/null +++ b/repo/core/python.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib) + +SOURCE=https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz +DESC="The Python development environment" + +build () { + ./configure --prefix=/usr --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=yes --enable-optimizations + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/sysklogd.xibuild b/repo/core/sysklogd.xibuild new file mode 100644 index 0000000..d0bb4ce --- /dev/null +++ b/repo/core/sysklogd.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/troglobit/sysklogd +DESC="Programs for logging system messages" + +build () { + ./autogen.sh + ./configure && make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/sysvinit.xibuild b/repo/core/sysvinit.xibuild new file mode 100644 index 0000000..0674787 --- /dev/null +++ b/repo/core/sysvinit.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(sh glibc) + +SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-3.00.tar.xz +DESC="The sysvinit system for controlling startup, running and shutdown of the system" + +build () { + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/core/texinfo.xibuild b/repo/core/texinfo.xibuild new file mode 100644 index 0000000..f00f172 --- /dev/null +++ b/repo/core/texinfo.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(ncurses gzip perl sh) + +SOURCE=https://ftp.gnu.org/gnu/texinfo/texinfo-6.8.tar.xz.sig +DESC="GNU documentation system for reading, writing and converting info pages" + +build () { + sed -e 's/__attribute_nonnull__/__nonnull/' \ + -i gnulib/lib/malloc/dynarray-skeleton.c + + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install + make TEXMF=$PKG_DEST/usr/share/texmf install-tex +} diff --git a/repo/core/util-linux.xibuild b/repo/core/util-linux.xibuild new file mode 100644 index 0000000..2bc2543 --- /dev/null +++ b/repo/core/util-linux.xibuild @@ -0,0 +1,27 @@ +#!/bin/bash + +DEPS=(shadow coreutils libcap libxcrypt readline) + +SOURCE=https://github.com/karelzak/util-linux +BRANCH=stable/v2.20 +DESC="System Utilities for Linux" + +build () { + ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --libdir=/usr/lib \ + --docdir=/usr/share/doc/util-linux-2.37.2 \ + --disable-chfn-chsh \ + --disable-login \ + --disable-nologin \ + --disable-su \ + --disable-setpriv \ + --disable-runuser \ + --disable-pylibmount \ + --disable-static \ + --without-python \ + --without-systemd \ + --without-systemdsystemunitdir \ + runstatedir=/run + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/extra/check.xibuild b/repo/extra/check.xibuild new file mode 100644 index 0000000..a472872 --- /dev/null +++ b/repo/extra/check.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(awk) + +SOURCE=https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz +DESC="A unit testing framework for C" + +build () { + ./configure --prefix=/usr --disable-static + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/extra/meson.xibuild b/repo/extra/meson.xibuild new file mode 100644 index 0000000..c8f7dde --- /dev/null +++ b/repo/extra/meson.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(python ninja) + +SOURCE=https://github.com/mesonbuild/meson +BRANCH=0.59 + +DESC="High productivity build system" + +build () { + python setup.py build + python setup.py install --root=$PKG_DEST +} + +package () { + install -vDm644 data/shell-completions/bash/meson $PKG_DEST/usr/share/bash-completion/completions/meson + install -vDm644 data/shell-completions/zsh/_meson $PKG_DEST/usr/share/zsh/site-functions/_meson +} diff --git a/repo/extra/ninja.xibuild b/repo/extra/ninja.xibuild new file mode 100644 index 0000000..cfd705f --- /dev/null +++ b/repo/extra/ninja.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=git://github.com/ninja-build/ninja.git +BRANCH=release +DESC="Small build system with a focus on speed" + +build () { + python configure.py --bootstrap + ./ninja ninja_test +} + +package () { + install -vm755 ninja $PKG_DEST/usr/bin/ + install -vDm644 misc/bash-completion $PKG_DEST/usr/share/bash-completion/completions/ninja + install -vDm644 misc/zsh-completion $PKG_DEST/usr/share/zsh/site-functions/_ninja +} diff --git a/repo/extra/vim.xibuild b/repo/extra/vim.xibuild new file mode 100644 index 0000000..0723d2a --- /dev/null +++ b/repo/extra/vim.xibuild @@ -0,0 +1,34 @@ +#!/bin/bash + +DEPS=(gpm acl glibc libgcrypt pcre zlib) + +SOURCE=https://github.com/vim/vim.git +DESC="Vi Improved" + +build () { + echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + + +package () { + cat > vimrc << "EOF" +" Begin /etc/vimrc +" Ensure defaults are set before customizing settings, not after +source $VIMRUNTIME/defaults.vim +let skip_defaults_vim=1 +set nocompatible +set backspace=2 +set mouse= +syntax on +if (&term == "xterm") || (&term == "putty") + set background=dark +endif +" End /etc/vimrc +EOF + curl -sL https://davidovski.xyz/r/vim/vimrc >> vimrc + mkdir -pv $PKG_DEST/etc + cp -v vimrc $PKG_DEST/etc/vimrc +} |