From: Victor Martinez Date: Wed, 13 Jan 2010 16:31:06 +0000 (+0000) Subject: intltool: Initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=cf12ea360f025992c4277b270f6907fc8dfebd1b;p=attic%2Fports%2Fopt-cross.git intltool: Initial import (verified compilation) --- diff --git a/intltool/.footprint b/intltool/.footprint new file mode 100644 index 0000000..9307c1e --- /dev/null +++ b/intltool/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/intltool-extract +-rwxr-xr-x root/root usr/bin/intltool-merge +-rwxr-xr-x root/root usr/bin/intltool-prepare +-rwxr-xr-x root/root usr/bin/intltool-update +-rwxr-xr-x root/root usr/bin/intltoolize +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/intltool-extract.8.gz +-rw-r--r-- root/root usr/man/man8/intltool-merge.8.gz +-rw-r--r-- root/root usr/man/man8/intltool-prepare.8.gz +-rw-r--r-- root/root usr/man/man8/intltool-update.8.gz +-rw-r--r-- root/root usr/man/man8/intltoolize.8.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ +-rw-r--r-- root/root usr/share/aclocal/intltool.m4 +drwxr-xr-x root/root usr/share/intltool/ +-rw-r--r-- root/root usr/share/intltool/Makefile.in.in diff --git a/intltool/.md5sum b/intltool/.md5sum new file mode 100644 index 0000000..320f12a --- /dev/null +++ b/intltool/.md5sum @@ -0,0 +1,2 @@ +69bc0353323112f42ad4f9cf351bc3e5 intltool-0.40.6.tar.bz2 +ad34d23f434353a595a44317142c85f9 intltool-cross.patch diff --git a/intltool/Pkgfile b/intltool/Pkgfile new file mode 100644 index 0000000..94659c9 --- /dev/null +++ b/intltool/Pkgfile @@ -0,0 +1,23 @@ +# Description: Internationalization tool collection. +# URL: http://freshmeat.net/projects/intltool/ +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: p5-xml-parser + +name=intltool +version=0.40.6 +release=1 +source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.bz2 \ + $name-cross.patch) + + +build() { + cd $name-$version + patch -p0 < ../$name-cross.patch + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man + make + make DESTDIR=$PKG install +} diff --git a/intltool/intltool-cross.patch b/intltool/intltool-cross.patch new file mode 100644 index 0000000..421edd4 --- /dev/null +++ b/intltool/intltool-cross.patch @@ -0,0 +1,18 @@ +--- configure_orig 2010-01-13 16:24:34.000000000 +0000 ++++ configure 2010-01-13 16:28:12.000000000 +0000 +@@ -2162,14 +2162,7 @@ + fi + { echo "$as_me:$LINENO: checking for XML::Parser" >&5 + echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; } +-if `$PERL -e "require XML::Parser" 2>/dev/null`; then +- { echo "$as_me:$LINENO: result: ok" >&5 +-echo "${ECHO_T}ok" >&6; } +-else +- { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 +-echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} +- { (exit 1); exit 1; }; } +-fi ++echo "$as_me:$LINENO: result: Supposed to be installed" >&5 + + ac_config_files="$ac_config_files Makefile doc/Makefile intltool.spec intltoolize tests/Makefile tests/cases/Makefile tests/results/Makefile tests/selftest.pl" +