mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
intltool: add recipe for 0.51.0 & fix 0.40.6
* Add recipe for 0.51.0 * Fix recipe for 0.40.6 (a $secondaryArchSuffix was missing in PROVIDES)
This commit is contained in:
@@ -20,7 +20,7 @@ ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
intltool = $portVersion
|
||||
intltool$secondaryArchSuffix = $portVersion
|
||||
cmd:intltool_extract$secondaryArchSuffix = $portVersion
|
||||
cmd:intltool_merge$secondaryArchSuffix = $portVersion
|
||||
cmd:intltool_prepare$secondaryArchSuffix = $portVersion
|
||||
@@ -58,7 +58,7 @@ INSTALL()
|
||||
make install
|
||||
}
|
||||
|
||||
TEST ()
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
64
dev-util/intltool/intltool-0.51.0.recipe
Normal file
64
dev-util/intltool/intltool-0.51.0.recipe
Normal file
@@ -0,0 +1,64 @@
|
||||
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="1"
|
||||
SOURCE_URI="https://launchpad.net/intltool/trunk/$portVersion/+download/intltool-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
intltool$secondaryArchSuffix = $portVersion
|
||||
cmd:intltool_extract$secondaryArchSuffix = $portVersion
|
||||
cmd:intltool_merge$secondaryArchSuffix = $portVersion
|
||||
cmd:intltool_prepare$secondaryArchSuffix = $portVersion
|
||||
cmd:intltool_update$secondaryArchSuffix = $portVersion
|
||||
cmd:intltoolize$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:file
|
||||
cmd:perl
|
||||
xml_parser
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
xml_parser
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:file
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:autoconf
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user