mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
8d8db785c7
it needs `xz` to unpack its archive.
56 lines
1.1 KiB
YAML
56 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
|
|
tukaani.org/xz: 5 # autopoint needs this to unpack archives
|
|
|
|
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
|