diff --git a/net-misc/opsi-configed/ChangeLog b/net-misc/opsi-configed/ChangeLog new file mode 100644 index 0000000..1b66033 --- /dev/null +++ b/net-misc/opsi-configed/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/opsi-configed +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*opsi-configed-4.0.1.9 (23 Jun 2011) + + 23 Jun 2011; Mario Fetka + +opsi-configed-4.0.1.9.ebuild, +metadata.xml: + initial commit + diff --git a/net-misc/opsi-configed/Manifest b/net-misc/opsi-configed/Manifest new file mode 100644 index 0000000..ad3499a --- /dev/null +++ b/net-misc/opsi-configed/Manifest @@ -0,0 +1,4 @@ +DIST opsi-configed-4.0.1.9-1.1.src.rpm 1637493 RMD160 95b69e7eb4fd0dffcc2e7cbb9d5a4238295b5eca SHA1 83a3993299bbd01bf6a96d54535e73b1079fc94f SHA256 d62fd7def9bf862d450aadc4d49cf495636df680c3cad1ac60ba95b301f5ebe5 +EBUILD opsi-configed-4.0.1.9.ebuild 1583 RMD160 d37a79b7e847404015d105a7f9bb675d9782eb72 SHA1 17ce50ba05747ff7edcd6eab76b16c55fbd84ae3 SHA256 f48fd19817d0c1155124c013289ec88fc1584a2c0406edca4b088131e2e06479 +MISC ChangeLog 278 RMD160 e7715b2f3c8a152e4cc507a1df5ddfcd69849adb SHA1 62e4e14c04123f06996016016b74b64db93d783f SHA256 22d2ecd5ac64fa323405c3508837f5499aad0c3faebd76ce89b986fb1a554ffb +MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2 diff --git a/net-misc/opsi-configed/metadata.xml b/net-misc/opsi-configed/metadata.xml new file mode 100644 index 0000000..6589d3b --- /dev/null +++ b/net-misc/opsi-configed/metadata.xml @@ -0,0 +1,8 @@ + + + +no-herd + + mario.fetka@gmail.com + + diff --git a/net-misc/opsi-configed/opsi-configed-4.0.1.9.ebuild b/net-misc/opsi-configed/opsi-configed-4.0.1.9.ebuild new file mode 100644 index 0000000..3156449 --- /dev/null +++ b/net-misc/opsi-configed/opsi-configed-4.0.1.9.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/websvn/websvn-2.3.2.ebuild,v 1.4 2011/03/21 18:03:55 xarthisius Exp $ + +EAPI="2" + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 eutils rpm + +RPM_VER="1.1" + +DESCRIPTION="opsi depot server" +HOMEPAGE="http://opsi.org/" +SRC_URI="http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/openSUSE_11.3/src/${P}-${RPM_VER}.src.rpm" + +LICENSE="GPL-2" +IUSE="" +KEYWORDS="~amd64 ~x86" + +COMMON_DEP="dev-java/swingx:1.6" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" +RESTRICT="" +SLOT="0" + +src_prepare() { + rm -rf *.jar + mv classes build +} + + +src_compile() { + ejavac -encoding UTF-8 -sourcepath src -classpath $(java-pkg_getjars swingx-1.6) -d build src/de/uib/configed/configed.java + ejavac -encoding UTF-8 -sourcepath src -classpath $(java-pkg_getjars swingx-1.6) -d build src/de/uib/configed/configedApplet.java + ejavac -encoding UTF-8 javainfo.java + jar -cvfm configed.jar MANIFEST.MF -C build/ . + +} + +src_install() { + java-pkg_jarinto /usr/lib/configed + insinto /usr/lib/configed + doins index.html javainfo.class + java-pkg_dojar "${S}"/configed.jar + java-pkg_dojar "${ROOT}"/usr/share/swingx-1.6/lib/swingx.jar + java-pkg_dolauncher ${PN} --main de.uib.configed.configed + + insinto /usr/share/configed + doins configed_icon.png + + newicon configed_icon.png ${PN}.png + make_desktop_entry ${PN} "Opsi Configuration Editor" ${PN} Settings;Utility; + + use source && java-pkg_dosrc "${S}"/src/* +} +