new: migrate even more packages
This commit is contained in:
parent
44706f4e3d
commit
beea0545f8
3
src/gawk/.gitignore
vendored
Normal file
3
src/gawk/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gawk/changes.md
Normal file
2
src/gawk/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 5.3.0
|
||||||
|
First version
|
25
src/gawk/pkg.sh
Normal file
25
src/gawk/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/gdbm/.gitignore
vendored
Normal file
3
src/gdbm/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gdbm/changes.md
Normal file
2
src/gdbm/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 1.23
|
||||||
|
First version
|
25
src/gdbm/pkg.sh
Normal file
25
src/gdbm/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/gettext/.gitignore
vendored
Normal file
3
src/gettext/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gettext/changes.md
Normal file
2
src/gettext/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 0.22.4
|
||||||
|
First version
|
26
src/gettext/pkg.sh
Normal file
26
src/gettext/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/gnupg/.gitignore
vendored
Normal file
3
src/gnupg/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gnupg/changes.md
Normal file
2
src/gnupg/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 2.4.4
|
||||||
|
First version
|
46
src/gnupg/pkg.sh
Normal file
46
src/gnupg/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/gnutls/.gitignore
vendored
Normal file
3
src/gnutls/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gnutls/changes.md
Normal file
2
src/gnutls/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 3.8.3
|
||||||
|
First version
|
25
src/gnutls/pkg.sh
Normal file
25
src/gnutls/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/gperf/.gitignore
vendored
Normal file
3
src/gperf/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gperf/changes.md
Normal file
2
src/gperf/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 3.1
|
||||||
|
First version
|
23
src/gperf/pkg.sh
Normal file
23
src/gperf/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/gpgme/.gitignore
vendored
Normal file
3
src/gpgme/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gpgme/changes.md
Normal file
2
src/gpgme/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 1.23.2
|
||||||
|
First version
|
29
src/gpgme/pkg.sh
Normal file
29
src/gpgme/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/groff/.gitignore
vendored
Normal file
3
src/groff/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/groff/changes.md
Normal file
2
src/groff/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 1.23.0
|
||||||
|
First version
|
23
src/groff/pkg.sh
Normal file
23
src/groff/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/grub-bios/.gitignore
vendored
Normal file
3
src/grub-bios/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/grub-bios/changes.md
Normal file
2
src/grub-bios/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 2.12
|
||||||
|
First version
|
2
src/grub-bios/default
Normal file
2
src/grub-bios/default
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
GRUB_DISTRIBUTOR="MatterLinux"
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
|
58
src/grub-bios/pkg.sh
Normal file
58
src/grub-bios/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/grub-efi/.gitignore
vendored
Normal file
3
src/grub-efi/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/grub-efi/changes.md
Normal file
2
src/grub-efi/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 2.12
|
||||||
|
First version
|
2
src/grub-efi/default
Normal file
2
src/grub-efi/default
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
GRUB_DISTRIBUTOR="MatterLinux"
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
|
58
src/grub-efi/pkg.sh
Normal file
58
src/grub-efi/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/gzip/.gitignore
vendored
Normal file
3
src/gzip/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/gzip/changes.md
Normal file
2
src/gzip/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 1.13
|
||||||
|
First version
|
26
src/gzip/pkg.sh
Normal file
26
src/gzip/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/iana-etc/.gitignore
vendored
Normal file
3
src/iana-etc/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/iana-etc/changes.md
Normal file
2
src/iana-etc/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 20240125
|
||||||
|
First version
|
22
src/iana-etc/pkg.sh
Normal file
22
src/iana-etc/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/icu/.gitignore
vendored
Normal file
3
src/icu/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/icu/changes.md
Normal file
2
src/icu/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 74.2
|
||||||
|
First version
|
26
src/icu/pkg.sh
Normal file
26
src/icu/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/inetutils/.gitignore
vendored
Normal file
3
src/inetutils/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/inetutils/changes.md
Normal file
2
src/inetutils/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 2.5
|
||||||
|
First version
|
40
src/inetutils/pkg.sh
Normal file
40
src/inetutils/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user