new: migrate even more packages

This commit is contained in:
ngn
2024-07-21 19:37:19 +03:00
parent 44706f4e3d
commit beea0545f8
44 changed files with 526 additions and 0 deletions

3
src/gettext/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/gettext/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 0.22.4
First version

26
src/gettext/pkg.sh Normal file
View 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}"
}