1
0
Fork 0
frozenports/devel/gettext/SCHEMATIC

25 lines
843 B
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="gettext"
short_desc="GNU gettext"
desc="GNU gettext is a tool for translation commonly used by GNU programs"
category="devel"
version="0.22.4"
maintainer="ffqq@danwin1210.de"
www="https://www.gnu.org/software/gettext/"
master_site="ftp://ftp.gnu.org/gnu/gettext"
source_name="$name-$version.tar.xz"
license_logic="and" # accepted values: single, and, or
licenses=("GPLv3" "LGPL3")
build_dependencies=("devel/gmake" "lang/gcc" "devel/ncurses" "textproc/expat")
run_dependencies=("system/glibc" "devel/ncurses" "textproc/expat")
build_process() {
cd $name-$version || exit 1
./configure --prefix=/usr \
--disable-static
make -j$(nproc)
make DESTDIR=$TAMANDUA_STAGE_DIR install
chmod -v 0755 $TAMANDUA_STAGE_DIR/usr/lib/preloadable_libintl.so
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
}