0
0
Fork 0
haikuports/dev-util/intltool/intltool-0.51.0.recipe

63 lines
1.5 KiB
Bash

SUMMARY="A set of tools to centralize translation of file formats"
DESCRIPTION="intltool is a set of tools to centralize translation of many \
different file formats using GNU gettext-compatible PO files.
The intltool collection can:
- Extract translatable strings from various source files (.xml.in, glade, \
.desktop.in, .server.in, .oaf.in).
- Collect the extracted strings together with messages from traditional source \
files (.c, .h) in po/PACKAGE.pot.
- Merge back the translations from .po files into .xml, .desktop and oaf \
files. This merge step will happen at build resp. installation time."
HOMEPAGE="http://freedesktop.org/wiki/Software/intltool"
COPYRIGHT="1994-1996, 1999-2002, 2004-2015 Free Software Foundation, Inc."
LICENSE="GNU GPL v2"
REVISION="4"
SOURCE_URI="https://launchpad.net/intltool/trunk/$portVersion/+download/intltool-$portVersion.tar.gz"
CHECKSUM_SHA256="67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
PATCHES="intltool-$portVersion.patchset"
ARCHITECTURES="any"
PROVIDES="
intltool = $portVersion
cmd:intltool_extract = $portVersion
cmd:intltool_merge = $portVersion
cmd:intltool_prepare = $portVersion
cmd:intltool_update = $portVersion
cmd:intltoolize = $portVersion
"
REQUIRES="
haiku
xml_parser
cmd:file
cmd:perl
"
BUILD_REQUIRES="
haiku_devel
xml_parser
"
BUILD_PREREQUIRES="
cmd:gawk
cmd:make
cmd:perl
cmd:sed
"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
}
TEST()
{
make check
}