pantry/projects/gnu.org/gettext/package.yml

59 lines
1.1 KiB
YAML
Raw Normal View History

2022-08-02 14:31:02 +03:00
distributable:
2022-09-18 23:15:38 +03:00
url: https://ftp.gnu.org/gnu/gettext/gettext-{{version.raw}}.tar.gz
2022-08-02 14:31:02 +03:00
strip-components: 1
dependencies:
gnome.org/libxml2: 2
#TODO ncurses
versions:
github: autotools-mirror/gettext/tags
2022-09-25 16:06:09 +03:00
strip: /v/
2022-08-02 14:31:02 +03:00
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
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
2022-09-18 23:15:38 +03:00
test: gettext test
2022-11-18 21:43:48 +03:00
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