mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/gettext/gettext-{{version.raw}}.tar.gz
|
|
strip-components: 1
|
|
|
|
dependencies:
|
|
gnome.org/libxml2: 2
|
|
#TODO ncurses
|
|
|
|
versions:
|
|
github: autotools-mirror/gettext/tags
|
|
strip: /v/
|
|
|
|
build:
|
|
script: |
|
|
./configure \
|
|
--prefix={{ prefix }} \
|
|
--disable-debug \
|
|
--with-included-debug \
|
|
--with-included-libcroco \
|
|
--with-included-libunistring \
|
|
--without-included-libxml \
|
|
--disable-java \
|
|
--disable-csharp
|
|
make --jobs {{ hw.concurrency }}
|
|
make install
|
|
|
|
cd {{prefix}}/bin
|
|
sed -i.bak 's|{{prefix}}|"$(cd "$(dirname "$0")/.." \&\& pwd)"|' gettextize autopoint
|
|
rm gettextize.bak autopoint.bak
|
|
|
|
test: gettext test
|
|
|
|
provides:
|
|
- bin/autopoint
|
|
- bin/envsubst
|
|
- bin/gettext
|
|
- bin/gettext.sh
|
|
- bin/gettextize
|
|
- bin/msgattrib
|
|
- bin/msgcat
|
|
- bin/msgcmp
|
|
- bin/msgcomm
|
|
- bin/msgconv
|
|
- bin/msgen
|
|
- bin/msgexec
|
|
- bin/msgfilter
|
|
- bin/msgfmt
|
|
- bin/msggrep
|
|
- bin/msginit
|
|
- bin/msgmerge
|
|
- bin/msgunfmt
|
|
- bin/msguniq
|
|
- bin/ngettext
|
|
- bin/recode-sr-latin
|
|
- bin/xgettext
|