both ebuilds now generate a bash script to make this package easy to use. fixes bug...
authorJan Brinkmann <luckyduck@gentoo.org>
Fri, 14 Jan 2005 19:19:29 +0000 (19:19 +0000)
committerJan Brinkmann <luckyduck@gentoo.org>
Fri, 14 Jan 2005 19:19:29 +0000 (19:19 +0000)
dev-util/checkstyle/ChangeLog
dev-util/checkstyle/Manifest
dev-util/checkstyle/checkstyle-3.3.ebuild
dev-util/checkstyle/checkstyle-3.4-r2.ebuild

index 10409fb6c57517e142ee839d3db5894e039ee486..dec3229e6bd6481f15d6520715f5fdeef1273042 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-util/checkstyle
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.9 2004/10/21 12:14:24 blubb Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.10 2005/01/14 19:19:29 luckyduck Exp $
+
+  14 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> checkstyle-3.3.ebuild,
+  checkstyle-3.4-r2.ebuild:
+  both ebuilds now generate a bash script to make this package easy to use.
+  fixes bug #77767.
 
   21 Oct 2004; Simon Stelling <blubb@gentoo.org> checkstyle-3.4-r2.ebuild:
   added ~amd64
index c7a1a56f5a58e48d38660c0f95d32b39360552b4..6141a95faa9c027daf30f9214ef7f4ade3f1f1e4 100644 (file)
@@ -1,6 +1,6 @@
-MD5 b1d7c8247891b8802b7684a0bc9882d8 ChangeLog 1424
-MD5 1852eed6cdfdf149421b610fe9dc5579 checkstyle-3.3.ebuild 1390
+MD5 4f1d6824c2824d3e9c56c88aec8fc434 checkstyle-3.3.ebuild 1686
+MD5 79f02b9fb3e3b4ca8beb32edd7d218a8 checkstyle-3.4-r2.ebuild 2069
+MD5 1b96733cc39c39d56499b98b89dbea30 ChangeLog 1629
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 1325152b4545c6c0cf0a893619d46418 checkstyle-3.4-r2.ebuild 1781
 MD5 3bfc61fcf1ab108f7cf96aef2c3acd0e files/digest-checkstyle-3.3 71
 MD5 ee7955e25b09c5307250330d16910077 files/digest-checkstyle-3.4-r2 71
index 0663980a2b7b95c64ea7531c1fb0867d6e4c43a1..700095ab24c5c48b0e2d1ce66f63e2d3f5ad39c6 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.3.ebuild,v 1.7 2004/10/16 18:16:29 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.3.ebuild,v 1.8 2005/01/14 19:19:29 luckyduck Exp $
 
 inherit java-pkg
 
@@ -9,7 +9,7 @@ HOMEPAGE="http://checkstyle.sourceforge.net"
 SRC_URI="mirror://sourceforge/checkstyle/${PN}-src-${PV}.tar.gz"
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="x86 ~sparc"
+KEYWORDS="x86 ~sparc ~amd64"
 IUSE="doc jikes"
 
 S=${WORKDIR}/${PN}-src-${PV}
@@ -42,4 +42,11 @@ src_install() {
        mv docs/checkstyle_checks.xml ${D}/usr/share/checkstyle/checkstyle_checks.xml
        mv docs/sun_checks.xml ${D}/usr/share/checkstyle/sun_checks.xml
        mv contrib ${D}/usr/share/checkstyle
+
+       echo '#!/bin/bash' > checkstyle
+       echo '' >> checkstyle
+       echo '`java-config -J` -cp `java-config -p checkstyle,antlr,commons-beanutils,commons-cli-1,commons-collections,commons-logging,regexp` com.puppycrawl.tools.checkstyle.Main "$@"' >> checkstyle
+
+       insinto /usr
+       dobin checkstyle
 }
index ae1418a55c2b489bac687ebddbb2bd6f95bd9b76..d3f4113c56a6610f0ba550976b9b23b5b7fc81c6 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.4-r2.ebuild,v 1.4 2004/10/21 12:14:24 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.4-r2.ebuild,v 1.5 2005/01/14 19:19:29 luckyduck Exp $
 
 inherit java-pkg
 
@@ -59,4 +59,11 @@ src_install() {
        mv docs/checkstyle_checks.xml ${D}/usr/share/checkstyle/checkstyle_checks.xml
        mv docs/sun_checks.xml ${D}/usr/share/checkstyle/sun_checks.xml
        mv contrib ${D}/usr/share/checkstyle
+
+       echo '#!/bin/bash' > checkstyle
+       echo '' >> checkstyle
+       echo '`java-config -J` -cp `java-config -p checkstyle,antlr,commons-beanutils,commons-cli-1,commons-collections,commons-logging,regexp` com.puppycrawl.tools.checkstyle.Main "$@"' >> checkstyle
+
+       insinto /usr
+       dobin checkstyle
 }