add files

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/opsi@2968 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-06-23 07:53:17 +00:00
parent 2ef7fb2cb2
commit 2da9a944b7
4 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# ChangeLog for app-admin/opsi-configed
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
23 Jun 2011; Mario Fetka <mario.fetka@gmail.com>
opsi-configed-4.0.1.9.ebuild:
Cleanup of ebuild
23 Jun 2011; Mario Fetka <mario.fetka@gmail.com>
opsi-configed-4.0.1.9.ebuild:
repoman cleanup
*opsi-configed-4.0.1.9 (23 Jun 2011)
23 Jun 2011; Mario Fetka <mario.fetka@gmail.com>
+opsi-configed-4.0.1.9.ebuild, +metadata.xml:
initial commit

View File

@ -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 1479 RMD160 d2fbd994662b00f28b532b03ccde4583503ff5e4 SHA1 747f068f8003d8fe675b86cfb8a31b99c9ddb11f SHA256 04dd7004629186ec229630878ccb6c8f8f5975a40984c10353e3cfa45aae843f
MISC ChangeLog 485 RMD160 0c1c2a63acf1b8012b6619467ee650be18e976cd SHA1 b39901ca1f384faf1c3251e371d1bd5334aa3977 SHA256 064a2a2ee3dac0a5b575e62531f350b33e20c585e557e0511c0509f0efe2ff3d
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>mario.fetka@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,56 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
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/*
}