diff options
Diffstat (limited to 'dev-java/tablelayout/tablelayout-1.0.ebuild')
-rw-r--r-- | dev-java/tablelayout/tablelayout-1.0.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-java/tablelayout/tablelayout-1.0.ebuild b/dev-java/tablelayout/tablelayout-1.0.ebuild new file mode 100644 index 000000000000..018a3d8cf5ed --- /dev/null +++ b/dev-java/tablelayout/tablelayout-1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tablelayout/tablelayout-1.0.ebuild,v 1.1 2015/08/08 10:47:05 monsieurp Exp $ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Layout manager that makes creating user interfaces fast and easy" +HOMEPAGE="https://tablelayout.dev.java.net/" +SRC_URI="http://www.oracle.com/technetwork/java/${PN}.jar" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +java_prepare() { + find . -type f -name \*.class -exec rm -v {} \; || die + + # two commmas cause a compiling error :/ + sed -i -e 's#Dimension(40, 20);;#Dimension(40, 20);#g;' \ + example/TypicalGui.java || die +} |