2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'intltool'.
|
|
|
|
pkgname=intltool
|
2012-03-03 04:40:38 +00:00
|
|
|
version=0.50.2
|
2012-05-27 10:36:24 +00:00
|
|
|
revision=1
|
2012-03-03 04:40:38 +00:00
|
|
|
homepage="https://edge.launchpad.net/intltool"
|
2010-11-20 00:12:31 +00:00
|
|
|
distfiles="http://launchpad.net/intltool/trunk/$version/+download/$pkgname-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-12 11:13:49 +00:00
|
|
|
makedepends="perl-XML-Parser>=2.41_1 gettext"
|
2008-10-01 23:38:12 +00:00
|
|
|
short_desc="Toolbox for internationalisation"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-03 04:40:38 +00:00
|
|
|
license="GPL-2"
|
|
|
|
checksum=67f25c5c6fb71d095793a7f895b245e65e829e8bde68c6c8b4c912144ff34406
|
2008-10-01 23:38:12 +00:00
|
|
|
long_desc="
|
|
|
|
The intltool collection can be used to do these things:
|
|
|
|
|
|
|
|
o Extract translatable strings from various source files (.xml.in,
|
|
|
|
.glade, .desktop.in, .server.in, .oaf.in).
|
|
|
|
|
|
|
|
o Collect the extracted strings together with messages from traditional
|
|
|
|
source files (.c, .h) in po/\$(PACKAGE).pot.
|
|
|
|
|
|
|
|
o Merge back the translations from .po files into .xml, .desktop and
|
|
|
|
.oaf files. This merge step will happen at build resp. installation
|
|
|
|
time.
|
|
|
|
|
|
|
|
The intltool package has a script, intltoolize, which copies the various
|
|
|
|
scripts and does the other magic to your module. So users building
|
|
|
|
from tarballs don't need intltool, only folks building from cvs.
|
|
|
|
(This is modeled on gettextize.)"
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
intltool_package() {
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|