Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=0ae573bfc6db68c00d6052e341a47a2c6e64515f
commit 0ae573bfc6db68c00d6052e341a47a2c6e64515f Author: Marius Cirsta <[email protected]> Date: Fri Jun 29 01:06:10 2012 +0000 antlr3-3.4-1-x86_64 * new package diff --git a/source/devel-extra/antlr3/FrugalBuild b/source/devel-extra/antlr3/FrugalBuild new file mode 100644 index 0000000..2a756db --- /dev/null +++ b/source/devel-extra/antlr3/FrugalBuild @@ -0,0 +1,30 @@ +# Compiling Time: 0.85 SBU +# Maintainer: Miklos Vajna <[email protected]> + +pkgname=antlr3 +pkgver=3.4 +pkgrel=1 +pkgdesc="ANother Tool for Language Recognition, version 3.x" +url="http://www.antlr.org/" +Finclude openjava +makedepends=(${makedepends[@]} 'maven') +groups=('devel-extra') +archs=('i686' 'x86_64' 'arm') +up2date="Flasttar http://www.antlr.org/download/" +source=(http://www.antlr.org/download/antlr-$pkgver.tar.gz openJDK7.patch) +sha1sums=('068a6bc929f9f0d6d643b31e7b56064f1bdb8442' \ + 'f3917fdc8cc520034a6359a38051aa599229c202') +_F_cd_path=antlr-$pkgver + +build() +{ + Fpatchall + #clean crap from source to make it compile + for i in `find . -regex '.*\._.*'` ; do + rm "$i" + done + mvn -Dmaven.repo.local=$Fsrcdir/repo clean package || Fdie + mv tool/target/antlr-3.4.jar tool/target/antlr3.jar + Fjar tool/target/antlr3.jar +} + diff --git a/source/devel-extra/antlr3/openJDK7.patch b/source/devel-extra/antlr3/openJDK7.patch new file mode 100644 index 0000000..e7992c2 --- /dev/null +++ b/source/devel-extra/antlr3/openJDK7.patch @@ -0,0 +1,44 @@ +--- antlr-3.4/pom.xml 2011-07-20 18:45:03.000000000 +0000 ++++ antlr-3.4.new/pom.xml 2012-06-28 21:38:46.000000000 +0000 +@@ -284,7 +284,7 @@ + <version>2.3.2</version> + <configuration> + <source>1.6</source> +- <target>jsr14</target> ++ <target>1.6</target> + <sourceDirectory>src</sourceDirectory> + </configuration> + </plugin> +--- antlr-3.4/antlr3-maven-plugin/pom.xml 2011-07-20 18:45:03.000000000 +0000 ++++ antlr-3.4.new/antlr3-maven-plugin/pom.xml 2012-06-28 21:39:43.000000000 +0000 +@@ -307,7 +307,7 @@ + <version>2.0.2</version> + <configuration> + <source>1.6</source> +- <target>jsr14</target> ++ <target>1.6</target> + </configuration> + </plugin> + +--- antlr-3.4/gunit/pom.xml 2011-07-20 18:45:03.000000000 +0000 ++++ antlr-3.4.new/gunit/pom.xml 2012-06-28 21:41:17.000000000 +0000 +@@ -89,7 +89,7 @@ + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> +- <target>jsr14</target> ++ <target>1.6</target> + <sourceDirectory>src</sourceDirectory> + </configuration> + </plugin> +--- antlr-3.4/runtime/Java/pom.xml 2011-07-20 18:45:03.000000000 +0000 ++++ antlr-3.4.new/runtime/Java/pom.xml 2012-06-28 21:42:10.000000000 +0000 +@@ -78,7 +78,7 @@ + <version>2.0.2</version> + <configuration> + <source>1.6</source> +- <target>jsr14</target> ++ <target>1.6</target> + </configuration> + </plugin> + <plugin> _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
