From beea0545f8c1d405f251ed5349e7119b93c0a6e0 Mon Sep 17 00:00:00 2001 From: ngn Date: Sun, 21 Jul 2024 19:37:19 +0300 Subject: [PATCH] new: migrate even more packages --- src/gawk/.gitignore | 3 +++ src/gawk/changes.md | 2 ++ src/gawk/pkg.sh | 25 +++++++++++++++++ src/gdbm/.gitignore | 3 +++ src/gdbm/changes.md | 2 ++ src/gdbm/pkg.sh | 25 +++++++++++++++++ src/gettext/.gitignore | 3 +++ src/gettext/changes.md | 2 ++ src/gettext/pkg.sh | 26 ++++++++++++++++++ src/gnupg/.gitignore | 3 +++ src/gnupg/changes.md | 2 ++ src/gnupg/pkg.sh | 46 +++++++++++++++++++++++++++++++ src/gnutls/.gitignore | 3 +++ src/gnutls/changes.md | 2 ++ src/gnutls/pkg.sh | 25 +++++++++++++++++ src/gperf/.gitignore | 3 +++ src/gperf/changes.md | 2 ++ src/gperf/pkg.sh | 23 ++++++++++++++++ src/gpgme/.gitignore | 3 +++ src/gpgme/changes.md | 2 ++ src/gpgme/pkg.sh | 29 ++++++++++++++++++++ src/groff/.gitignore | 3 +++ src/groff/changes.md | 2 ++ src/groff/pkg.sh | 23 ++++++++++++++++ src/grub-bios/.gitignore | 3 +++ src/grub-bios/changes.md | 2 ++ src/grub-bios/default | 2 ++ src/grub-bios/pkg.sh | 58 ++++++++++++++++++++++++++++++++++++++++ src/grub-efi/.gitignore | 3 +++ src/grub-efi/changes.md | 2 ++ src/grub-efi/default | 2 ++ src/grub-efi/pkg.sh | 58 ++++++++++++++++++++++++++++++++++++++++ src/gzip/.gitignore | 3 +++ src/gzip/changes.md | 2 ++ src/gzip/pkg.sh | 26 ++++++++++++++++++ src/iana-etc/.gitignore | 3 +++ src/iana-etc/changes.md | 2 ++ src/iana-etc/pkg.sh | 22 +++++++++++++++ src/icu/.gitignore | 3 +++ src/icu/changes.md | 2 ++ src/icu/pkg.sh | 26 ++++++++++++++++++ src/inetutils/.gitignore | 3 +++ src/inetutils/changes.md | 2 ++ src/inetutils/pkg.sh | 40 +++++++++++++++++++++++++++ 44 files changed, 526 insertions(+) create mode 100644 src/gawk/.gitignore create mode 100644 src/gawk/changes.md create mode 100644 src/gawk/pkg.sh create mode 100644 src/gdbm/.gitignore create mode 100644 src/gdbm/changes.md create mode 100644 src/gdbm/pkg.sh create mode 100644 src/gettext/.gitignore create mode 100644 src/gettext/changes.md create mode 100644 src/gettext/pkg.sh create mode 100644 src/gnupg/.gitignore create mode 100644 src/gnupg/changes.md create mode 100644 src/gnupg/pkg.sh create mode 100644 src/gnutls/.gitignore create mode 100644 src/gnutls/changes.md create mode 100644 src/gnutls/pkg.sh create mode 100644 src/gperf/.gitignore create mode 100644 src/gperf/changes.md create mode 100644 src/gperf/pkg.sh create mode 100644 src/gpgme/.gitignore create mode 100644 src/gpgme/changes.md create mode 100644 src/gpgme/pkg.sh create mode 100644 src/groff/.gitignore create mode 100644 src/groff/changes.md create mode 100644 src/groff/pkg.sh create mode 100644 src/grub-bios/.gitignore create mode 100644 src/grub-bios/changes.md create mode 100644 src/grub-bios/default create mode 100644 src/grub-bios/pkg.sh create mode 100644 src/grub-efi/.gitignore create mode 100644 src/grub-efi/changes.md create mode 100644 src/grub-efi/default create mode 100644 src/grub-efi/pkg.sh create mode 100644 src/gzip/.gitignore create mode 100644 src/gzip/changes.md create mode 100644 src/gzip/pkg.sh create mode 100644 src/iana-etc/.gitignore create mode 100644 src/iana-etc/changes.md create mode 100644 src/iana-etc/pkg.sh create mode 100644 src/icu/.gitignore create mode 100644 src/icu/changes.md create mode 100644 src/icu/pkg.sh create mode 100644 src/inetutils/.gitignore create mode 100644 src/inetutils/changes.md create mode 100644 src/inetutils/pkg.sh diff --git a/src/gawk/.gitignore b/src/gawk/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gawk/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gawk/changes.md b/src/gawk/changes.md new file mode 100644 index 0000000..4f45fc1 --- /dev/null +++ b/src/gawk/changes.md @@ -0,0 +1,2 @@ +# 5.3.0 +First version diff --git a/src/gawk/pkg.sh b/src/gawk/pkg.sh new file mode 100644 index 0000000..0d30477 --- /dev/null +++ b/src/gawk/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="gawk" +DESC="GNU awk" +VERSION="5.3.0" + +# required files +FILES=("https://ftp.gnu.org/gnu/gawk/gawk-${VERSION}.tar.xz") +HASHES=("97c5a7d83f91a7e1b2035ebbe6ac7abd") + +# install and build depends +DEPENDS=("glibc" "mpfr" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + sed -i 's/extras//' Makefile.in + ./configure --prefix=/usr \ + --host=$LFS_TGT \ + --build=$(build-aux/config.guess) + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/gdbm/.gitignore b/src/gdbm/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gdbm/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gdbm/changes.md b/src/gdbm/changes.md new file mode 100644 index 0000000..220440b --- /dev/null +++ b/src/gdbm/changes.md @@ -0,0 +1,2 @@ +# 1.23 +First version diff --git a/src/gdbm/pkg.sh b/src/gdbm/pkg.sh new file mode 100644 index 0000000..974b03f --- /dev/null +++ b/src/gdbm/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="gdbm" +DESC="Library of database functions that work similar to the standard UNIX dbm" +VERSION="1.23" + +# required files +FILES=("https://ftp.gnu.org/gnu/gdbm/gdbm-${VERSION}.tar.gz") +HASHES=("8551961e36bf8c70b7500d255d3658ec") + +# install and build depends +DEPENDS=("glibc" "readline" "bash") +BUILD=("readline") + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --disable-static \ + --enable-libgdbm-compat + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/gettext/.gitignore b/src/gettext/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gettext/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gettext/changes.md b/src/gettext/changes.md new file mode 100644 index 0000000..2cb64be --- /dev/null +++ b/src/gettext/changes.md @@ -0,0 +1,2 @@ +# 0.22.4 +First version diff --git a/src/gettext/pkg.sh b/src/gettext/pkg.sh new file mode 100644 index 0000000..eedecf7 --- /dev/null +++ b/src/gettext/pkg.sh @@ -0,0 +1,26 @@ +# general info +NAME="gettext" +DESC="GNU internationalization and localization system" +VERSION="0.22.4" + +# required files +FILES=("https://ftp.gnu.org/gnu/gettext/gettext-${VERSION}.tar.xz") +HASHES=("2d8507d003ef3ddd1c172707ffa97ed8") + +# install and build depends +DEPENDS=("acl" "gcc-libs" "libunistring" "libxml2" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --disable-static \ + --docdir="/usr/share/doc/gettext-${VERSION}" + make + make DESTDIR="${ROOTDIR}" install + chmod -v 0755 "${ROOTDIR}/usr/lib/preloadable_libintl.so" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/gnupg/.gitignore b/src/gnupg/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gnupg/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gnupg/changes.md b/src/gnupg/changes.md new file mode 100644 index 0000000..a49c8e4 --- /dev/null +++ b/src/gnupg/changes.md @@ -0,0 +1,2 @@ +# 2.4.4 +First version diff --git a/src/gnupg/pkg.sh b/src/gnupg/pkg.sh new file mode 100644 index 0000000..8229bf4 --- /dev/null +++ b/src/gnupg/pkg.sh @@ -0,0 +1,46 @@ +# general info +NAME="gnupg" +DESC="GNU Privacy Guard" +VERSION="2.4.4" + +# required files +FILES=("https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${VERSION}.tar.bz2") +HASHES=("114ac6367668a330ffae1ade6d79133a") + +# install and build depends +DEPENDS=( + "libassuan" "libgcrypt" "libksba" + "npth" "openldap" "curl" "pinentry" + "gnutls" "glibc" "readline" "zlib" +) +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.bz2" + cd "${NAME}-${VERSION}" + + mkdir build + cd build + + ../configure --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --docdir="/usr/share/doc/gnupg-${VERSION}" + + make + makeinfo --html --no-split -I doc -o doc/gnupg_nochunks.html ../doc/gnupg.texi + makeinfo --plaintext -I doc -o doc/gnupg.txt ../doc/gnupg.texi + make -C doc html + + make DESTDIR="${ROOTDIR}" install + + install -v -m755 -d "${ROOTDIR}/usr/share/doc/gnupg-${VERSION}/html" + install -v -m644 doc/gnupg_nochunks.html \ + "${ROOTDIR}/usr/share/doc/gnupg-${VERSION}/html/gnupg.html" + install -v -m644 ../doc/*.texi doc/gnupg.txt \ + "${ROOTDIR}/usr/share/doc/gnupg-${VERSION}" + install -v -m644 doc/gnupg.html/* \ + "${ROOTDIR}/usr/share/doc/gnupg-${VERSION}/html" + + cd ../.. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/gnutls/.gitignore b/src/gnutls/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gnutls/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gnutls/changes.md b/src/gnutls/changes.md new file mode 100644 index 0000000..205fbe9 --- /dev/null +++ b/src/gnutls/changes.md @@ -0,0 +1,2 @@ +# 3.8.3 +First version diff --git a/src/gnutls/pkg.sh b/src/gnutls/pkg.sh new file mode 100644 index 0000000..0dd70f2 --- /dev/null +++ b/src/gnutls/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="gnutls" +DESC="GNU Transport Layer Security library" +VERSION="3.8.3" + +# required files +FILES=("https://www.gnupg.org/ftp/gcrypt/gnutls/v${VERSION%.*}/gnutls-${VERSION}.tar.xz") +HASHES=("269966167fa5bf8bae5f7534bcc3c454") + +# install and build depends +DEPENDS=("nettle" "libunistring" "libtasn1" "p11-kit") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --docdir="/usr/share/doc/gnutls-${VERSION}" \ + --with-default-trust-store-pkcs11="pkcs11:" + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/gperf/.gitignore b/src/gperf/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gperf/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gperf/changes.md b/src/gperf/changes.md new file mode 100644 index 0000000..c9794cd --- /dev/null +++ b/src/gperf/changes.md @@ -0,0 +1,2 @@ +# 3.1 +First version diff --git a/src/gperf/pkg.sh b/src/gperf/pkg.sh new file mode 100644 index 0000000..a37a269 --- /dev/null +++ b/src/gperf/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="gperf" +DESC="Perfect hash function generator" +VERSION="3.1" + +# required files +FILES=("https://ftp.gnu.org/gnu/gperf/gperf-${VERSION}.tar.gz") +HASHES=("9e251c0a618ad0824b51117d5d9db87e") + +# install and build depends +DEPENDS=("gcc-libs" "glibc") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr --docdir="/usr/share/doc/gperf-${VERSION}" + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/gpgme/.gitignore b/src/gpgme/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gpgme/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gpgme/changes.md b/src/gpgme/changes.md new file mode 100644 index 0000000..d848626 --- /dev/null +++ b/src/gpgme/changes.md @@ -0,0 +1,2 @@ +# 1.23.2 +First version diff --git a/src/gpgme/pkg.sh b/src/gpgme/pkg.sh new file mode 100644 index 0000000..36e4599 --- /dev/null +++ b/src/gpgme/pkg.sh @@ -0,0 +1,29 @@ +# general info +NAME="gpgme" +DESC="Library designed to make access to GnuPG easier for applications" +VERSION="1.23.2" + +# required files +FILES=("https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${VERSION}.tar.bz2") +HASHES=("01a8c05b409847e87daf0543e91f8c37") + +# install and build depends +DEPENDS=( + "libassuan" "gnupg" "libgpg-error" + "glibc" "gcc-libs" +) +BUILD=("python3" "pypa-build" "pypa-installer" "wheel") + +build(){ + tar xf "${NAME}-${VERSION}.tar.bz2" + cd "${NAME}-${VERSION}" + + mkdir build + cd build + + ../configure --prefix=/usr --disable-gpg-test + make + make DESTDIR="${ROOTDIR}" install + + cd ../.. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/groff/.gitignore b/src/groff/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/groff/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/groff/changes.md b/src/groff/changes.md new file mode 100644 index 0000000..b6239e6 --- /dev/null +++ b/src/groff/changes.md @@ -0,0 +1,2 @@ +# 1.23.0 +First version diff --git a/src/groff/pkg.sh b/src/groff/pkg.sh new file mode 100644 index 0000000..4372c77 --- /dev/null +++ b/src/groff/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="groff" +DESC="GNU roff" +VERSION="1.23.0" + +# required files +FILES=("https://ftp.gnu.org/gnu/groff/groff-${VERSION}.tar.gz") +HASHES=("5e4f40315a22bb8a158748e7d5094c7d") + +# install and build depends +DEPENDS=("gcc-libs" "perl") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/grub-bios/.gitignore b/src/grub-bios/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/grub-bios/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/grub-bios/changes.md b/src/grub-bios/changes.md new file mode 100644 index 0000000..5d92cfb --- /dev/null +++ b/src/grub-bios/changes.md @@ -0,0 +1,2 @@ +# 2.12 +First version diff --git a/src/grub-bios/default b/src/grub-bios/default new file mode 100644 index 0000000..f96cc43 --- /dev/null +++ b/src/grub-bios/default @@ -0,0 +1,2 @@ +GRUB_DISTRIBUTOR="MatterLinux" +GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet" diff --git a/src/grub-bios/pkg.sh b/src/grub-bios/pkg.sh new file mode 100644 index 0000000..28eea09 --- /dev/null +++ b/src/grub-bios/pkg.sh @@ -0,0 +1,58 @@ +# general info +NAME="grub-bios" +DESC="GNU GRand Unified Bootloader" +VERSION="2.12" + +# required files +FILES=( + "https://ftp.gnu.org/gnu/grub/grub-${VERSION}.tar.xz" + "https://unifoundry.com/pub/unifont/unifont-15.1.04/font-builds/unifont-15.1.04.pcf.gz" + "default" +) +HASHES=( + "60c564b1bdc39d8e43b3aab4bc0fb140" + "72f95e7ecb47a4c7ed610babe6959ead" + "80d333049c9524e0021f14fee0d515aee6d3aa00951021cfed2bb7c1b6e7437d" +) +KEEP=("/etc/default/grub") + +# install and build depends +DEPENDS=( + "gettext" "make" "xz" + "make" "bash" +) +BUILD=("python3") + +build(){ + mkdir -pv "${ROOTDIR}/usr/share/fonts/unifont" + gunzip -c unifont-15.1.04.pcf.gz > "${ROOTDIR}/usr/share/fonts/unifont/unifont.pcf" + + tar xf "grub-${VERSION}.tar.xz" + cd "grub-${VERSION}" + + echo depends bli part_gpt > grub-core/extra_deps.lst + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-bootdir=/boot \ + --disable-efiemu \ + --enable-grub-mkfont \ + --enable-boot-time \ + --with-platform=pc \ + --with-grubdir=grub \ + --target=i386 \ + --disable-werror + + # optimizations may cause issues with the bootloader + CFLAGS="$(echo "${CFLAGS}" | sed 's/-O3//g' | sed 's/-O2//g')" + + make + make DESTDIR="${ROOTDIR}" install + + install -dm755 "${ROOTDIR}/usr/share/bash-completion/completions" + install -dm755 "${ROOTDIR}/etc/default" + + mv -v "${ROOTDIR}/etc/bash_completion.d/grub" "${ROOTDIR}/usr/share/bash-completion/completions" + install -m644 "${ROOTDIR}/default" "${ROOTDIR}/etc/default/grub" + + cd .. && rm -r "grub-${VERSION}" +} diff --git a/src/grub-efi/.gitignore b/src/grub-efi/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/grub-efi/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/grub-efi/changes.md b/src/grub-efi/changes.md new file mode 100644 index 0000000..5d92cfb --- /dev/null +++ b/src/grub-efi/changes.md @@ -0,0 +1,2 @@ +# 2.12 +First version diff --git a/src/grub-efi/default b/src/grub-efi/default new file mode 100644 index 0000000..f96cc43 --- /dev/null +++ b/src/grub-efi/default @@ -0,0 +1,2 @@ +GRUB_DISTRIBUTOR="MatterLinux" +GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet" diff --git a/src/grub-efi/pkg.sh b/src/grub-efi/pkg.sh new file mode 100644 index 0000000..cbdfcc9 --- /dev/null +++ b/src/grub-efi/pkg.sh @@ -0,0 +1,58 @@ +# general info +NAME="grub-bios" +DESC="GNU GRand Unified Bootloader" +VERSION="2.12" + +# required files +FILES=( + "https://ftp.gnu.org/gnu/grub/grub-${VERSION}.tar.xz" + "https://unifoundry.com/pub/unifont/unifont-15.1.04/font-builds/unifont-15.1.04.pcf.gz" + "default" +) +HASHES=( + "60c564b1bdc39d8e43b3aab4bc0fb140" + "72f95e7ecb47a4c7ed610babe6959ead" + "80d333049c9524e0021f14fee0d515aee6d3aa00951021cfed2bb7c1b6e7437d" +) +KEEP=("/etc/default/grub") + +# install and build depends +DEPENDS=( + "gettext" "make" "xz" + "make" "bash" "efibootmgr" +) +BUILD=("python3") + +build(){ + mkdir -pv "${ROOTDIR}/usr/share/fonts/unifont" + gunzip -c unifont-15.1.04.pcf.gz > "${ROOTDIR}/usr/share/fonts/unifont/unifont.pcf" + + tar xf "grub-${VERSION}.tar.xz" + cd "grub-${VERSION}" + + echo depends bli part_gpt > grub-core/extra_deps.lst + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-bootdir=/boot \ + --disable-efiemu \ + --enable-grub-mkfont \ + --enable-boot-time \ + --with-platform=efi \ + --with-grubdir=grub \ + --target=x86_64 \ + --disable-werror + + # optimizations may cause issues with the bootloader + CFLAGS="$(echo "${CFLAGS}" | sed 's/-O3//g' | sed 's/-O2//g')" + + make + make DESTDIR="${ROOTDIR}" install + + install -dm755 "${ROOTDIR}/usr/share/bash-completion/completions" + install -dm755 "${ROOTDIR}/etc/default" + + mv -v "${ROOTDIR}/etc/bash_completion.d/grub" "${ROOTDIR}/usr/share/bash-completion/completions" + install -m644 "${ROOTDIR}/default" "${ROOTDIR}/etc/default/grub" + + cd .. && rm -r "grub-${VERSION}" +} diff --git a/src/gzip/.gitignore b/src/gzip/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/gzip/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/gzip/changes.md b/src/gzip/changes.md new file mode 100644 index 0000000..88377bc --- /dev/null +++ b/src/gzip/changes.md @@ -0,0 +1,2 @@ +# 1.13 +First version diff --git a/src/gzip/pkg.sh b/src/gzip/pkg.sh new file mode 100644 index 0000000..80c42ff --- /dev/null +++ b/src/gzip/pkg.sh @@ -0,0 +1,26 @@ +# general info +NAME="gzip" +DESC="Popular data compression program originally written by Jean-loup Gailly for the GNU project" +VERSION="1.13" + +# required files +FILES=("https://ftp.gnu.org/gnu/gzip/gzip-${VERSION}.tar.xz") +HASHES=("d5c9fc9441288817a4a0be2da0249e29") + +# install and build depends +DEPENDS=( + "bash" "coreutils" "glibc" + "grep" "sed" +) +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/iana-etc/.gitignore b/src/iana-etc/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/iana-etc/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/iana-etc/changes.md b/src/iana-etc/changes.md new file mode 100644 index 0000000..9769216 --- /dev/null +++ b/src/iana-etc/changes.md @@ -0,0 +1,2 @@ +# 20240125 +First version diff --git a/src/iana-etc/pkg.sh b/src/iana-etc/pkg.sh new file mode 100644 index 0000000..bb8d31f --- /dev/null +++ b/src/iana-etc/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="iana-etc" +DESC="Data for network services and protocols" +VERSION="20240125" + +# required files +FILES=("https://github.com/Mic92/iana-etc/releases/download/${VERSION}/iana-etc-${VERSION}.tar.gz") +HASHES=("aed66d04de615d76c70890233081e584") + +# install and build depends +DEPENDS=() +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + install -dm755 "${ROOTDIR}/etc" + cp services protocols "${ROOTDIR}/etc" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/icu/.gitignore b/src/icu/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/icu/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/icu/changes.md b/src/icu/changes.md new file mode 100644 index 0000000..d5c19e5 --- /dev/null +++ b/src/icu/changes.md @@ -0,0 +1,2 @@ +# 74.2 +First version diff --git a/src/icu/pkg.sh b/src/icu/pkg.sh new file mode 100644 index 0000000..4c0559d --- /dev/null +++ b/src/icu/pkg.sh @@ -0,0 +1,26 @@ +# general info +NAME="icu" +DESC="International Components for Unicode" +VERSION="74-2" +_RVERSION="$(echo "${VERSION}" | sed 's/-/_/g')" + + +# required files +FILES=("https://github.com/unicode-org/icu/releases/download/release-${VERSION}/icu4c-${_RVERSION}-src.tgz") +HASHES=("94c0b370f43123ea92b146ebea9c709d") + +# install and build depends +DEPENDS=("gcc-libs" "glibc" "bash") +BUILD=("python3") + +build(){ + tar xf "${NAME}4c-${_RVERSION}-src.tgz" + cd "${NAME}" + + cd source + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + + cd ../.. && rm -r "${NAME}" +} diff --git a/src/inetutils/.gitignore b/src/inetutils/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/inetutils/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/inetutils/changes.md b/src/inetutils/changes.md new file mode 100644 index 0000000..11f997c --- /dev/null +++ b/src/inetutils/changes.md @@ -0,0 +1,2 @@ +# 2.5 +First version diff --git a/src/inetutils/pkg.sh b/src/inetutils/pkg.sh new file mode 100644 index 0000000..176bd5f --- /dev/null +++ b/src/inetutils/pkg.sh @@ -0,0 +1,40 @@ +# general info +NAME="inetutils" +DESC="GNU network utilities" +VERSION="2.5" + +# required files +FILES=("https://ftp.gnu.org/gnu/inetutils/inetutils-${VERSION}.tar.xz") +HASHES=("9e5a6dfd2d794dc056a770e8ad4a9263") + +# install and build depends +DEPENDS=( + "glibc" "libcap" "ncurses" + "readline" "linux-pam" "libxcrypt" +) +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --bindir=/usr/bin \ + --localstatedir=/var \ + --disable-logger \ + --disable-whois \ + --disable-rcp \ + --disable-rexec \ + --disable-rlogin \ + --disable-rsh \ + --disable-servers + + make + make DESTDIR="${ROOTDIR}" install + + install -dm755 "${ROOTDIR}/usr/bin" + install -dm755 "${ROOTDIR}/usr/sbin" + mv -v "${ROOTDIR}/usr/"{,s}bin/ifconfig + + cd .. && rm -r "${NAME}-${VERSION}" +}