new: migrate even more packages
This commit is contained in:
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}"
|
||||
}
|
Reference in New Issue
Block a user