diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-10-31 18:57:20 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-10-31 18:57:20 +0000 |
commit | e9ed4b7a4880d4828d3454939f346459b0fdc125 (patch) | |
tree | a5fecb97c099d710569c9dabdbed671a2f183814 /dev-java/rxtx | |
parent | stable on amd64 (diff) | |
download | historical-e9ed4b7a4880d4828d3454939f346459b0fdc125.tar.gz historical-e9ed4b7a4880d4828d3454939f346459b0fdc125.tar.bz2 historical-e9ed4b7a4880d4828d3454939f346459b0fdc125.zip |
Fixed numerous problems like the location of the installed javadocs.
Package-Manager: portage-2.1.2_rc1
Diffstat (limited to 'dev-java/rxtx')
-rw-r--r-- | dev-java/rxtx/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/rxtx/Manifest | 25 | ||||
-rw-r--r-- | dev-java/rxtx/files/digest-rxtx-2.1.7.2-r1 | 3 | ||||
-rw-r--r-- | dev-java/rxtx/rxtx-2.1.7.2-r1.ebuild | 96 |
4 files changed, 127 insertions, 5 deletions
diff --git a/dev-java/rxtx/ChangeLog b/dev-java/rxtx/ChangeLog index ad928eebde1d..463d82cb5b69 100644 --- a/dev-java/rxtx/ChangeLog +++ b/dev-java/rxtx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/rxtx # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/rxtx/ChangeLog,v 1.3 2006/10/30 00:33:13 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/rxtx/ChangeLog,v 1.4 2006/10/31 18:57:20 betelgeuse Exp $ + +*rxtx-2.1.7.2-r1 (31 Oct 2006) + + 31 Oct 2006; Petteri Räty <betelgeuse@gentoo.org> + +rxtx-2.1.7.2-r1.ebuild: + Fixed numerous problems like the location of the installed javadocs. *rxtx-2.1.7.2 (30 Oct 2006) diff --git a/dev-java/rxtx/Manifest b/dev-java/rxtx/Manifest index 8a1bfa3d5185..842e055f6580 100644 --- a/dev-java/rxtx/Manifest +++ b/dev-java/rxtx/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX lockfiled.xinetd 202 RMD160 da27001f9265cefaff35a31931515f088ecea1a9 SHA1 4bfecd3d8a23c1256983638abcc1a8b1883a5a90 SHA256 5016c083c1eee98483e16187b79e762db43b50b4177c7420196a91ed64bfe940 MD5 221d7c3099b6afc998aebb14499273d5 files/lockfiled.xinetd 202 RMD160 da27001f9265cefaff35a31931515f088ecea1a9 files/lockfiled.xinetd 202 @@ -12,6 +15,10 @@ RMD160 355948dfbf04e89f8ee95e3b17dfccb96de5bb4c files/rxtx-2.1-7r2-nouts.diff 35 SHA256 bdea39bd623d71ebffd0412476f7b9cd680c7e61ab546bda06dfa517bf175faf files/rxtx-2.1-7r2-nouts.diff 3583 DIST rxtx-2.1-7pre17.tar.gz 985729 RMD160 ddde109e7f760f6f69dcb6d95ff03dacf52d7949 SHA1 76f41bb70681996943429482a0e87f35d5999968 SHA256 f6662f1ce05685da0a662236e432f9c3b865a7b4d8707004a48e38346149a6e3 DIST rxtx-2.1-7r2.zip 1345757 RMD160 dc569a654fbef58aa521013e170c0200b8b3668f SHA1 1d9ef2f80b23bc08b8fdeaa547ee78cb5f76e613 SHA256 31db3852a86105766758975519b27d262407c96cacad4f34ad0de5aae26addd9 +EBUILD rxtx-2.1.7.2-r1.ebuild 2316 RMD160 8038e85996cf792c9ae946022bc42f6aaeaa6434 SHA1 8177eddb6d32aa82d37876e574346a5b5c7a36ca SHA256 c3d14087b9e274d0bc6d8838ea5229bc423fe0488c6dc759f2f9b88db2907f8d +MD5 7bd2f042392c74be82d0d2157fbe7b1a rxtx-2.1.7.2-r1.ebuild 2316 +RMD160 8038e85996cf792c9ae946022bc42f6aaeaa6434 rxtx-2.1.7.2-r1.ebuild 2316 +SHA256 c3d14087b9e274d0bc6d8838ea5229bc423fe0488c6dc759f2f9b88db2907f8d rxtx-2.1.7.2-r1.ebuild 2316 EBUILD rxtx-2.1.7.2.ebuild 2093 RMD160 b82c5570ad753eac53031cca36d3182969500f47 SHA1 36627c19afc5c550c05da54bc069e82df2972c8f SHA256 81659b8f32d1160e674c7d5f5df065ba79589362545c3c97d633a356bf622477 MD5 51eafd5346edbc3381b8bbb5d45ed368 rxtx-2.1.7.2.ebuild 2093 RMD160 b82c5570ad753eac53031cca36d3182969500f47 rxtx-2.1.7.2.ebuild 2093 @@ -20,10 +27,10 @@ EBUILD rxtx-2.1.7_pre17.ebuild 829 RMD160 93daf211839a3096b4a54f099240343e56054f MD5 b8c9132db49f953bbfdb5b92717192bd rxtx-2.1.7_pre17.ebuild 829 RMD160 93daf211839a3096b4a54f099240343e56054f5e rxtx-2.1.7_pre17.ebuild 829 SHA256 6d7f47ac8d70d01cec3f0c8ed052767430e9384d8c69ccb1650dedbbe09f65d2 rxtx-2.1.7_pre17.ebuild 829 -MISC ChangeLog 829 RMD160 27622f1d96d73d742f7caacc593ddbc6ffc3d471 SHA1 8fdcc9506779248eaca4233a6462aace6d6e219d SHA256 14b534476056b8f52a72433b9dca6999e7618877ccc42575434c756faf33e062 -MD5 da6b21cce5908ab38a82bd0a5ad3d76f ChangeLog 829 -RMD160 27622f1d96d73d742f7caacc593ddbc6ffc3d471 ChangeLog 829 -SHA256 14b534476056b8f52a72433b9dca6999e7618877ccc42575434c756faf33e062 ChangeLog 829 +MISC ChangeLog 1015 RMD160 e14d0bac2e65192ee33f73d6b729e38b67745bda SHA1 b75f6fd80ef9694447568d276d4b84c7e2a4da92 SHA256 63035de6c01429c505dd0950df6a4cdabafc77a1b77b3a242daf4ab22a9daec4 +MD5 101eabb70457b6387df9a38347158f53 ChangeLog 1015 +RMD160 e14d0bac2e65192ee33f73d6b729e38b67745bda ChangeLog 1015 +SHA256 63035de6c01429c505dd0950df6a4cdabafc77a1b77b3a242daf4ab22a9daec4 ChangeLog 1015 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -31,6 +38,16 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata MD5 cdedf6125376afd68eb691fa15780e1f files/digest-rxtx-2.1.7.2 232 RMD160 c45af3cb92e7f78eb705dcd8b6174d49fdc0169d files/digest-rxtx-2.1.7.2 232 SHA256 466364d474eee464d6b037cbf8299771c4e557116867a0375101f6bb3df1ecee files/digest-rxtx-2.1.7.2 232 +MD5 cdedf6125376afd68eb691fa15780e1f files/digest-rxtx-2.1.7.2-r1 232 +RMD160 c45af3cb92e7f78eb705dcd8b6174d49fdc0169d files/digest-rxtx-2.1.7.2-r1 232 +SHA256 466364d474eee464d6b037cbf8299771c4e557116867a0375101f6bb3df1ecee files/digest-rxtx-2.1.7.2-r1 232 MD5 8d902524f8f6bba3881b1216703e39be files/digest-rxtx-2.1.7_pre17 247 RMD160 ee94abe7e8d9c18eefc102c3b9d085906c05f1b6 files/digest-rxtx-2.1.7_pre17 247 SHA256 590e44a40b8b73dd1aa9496b27a4a2b8ce45e418ced97864b6862031fb6094f2 files/digest-rxtx-2.1.7_pre17 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFR5yZcxLzpIGCsLQRApVfAJ9mchmXZfmgOOqRDZLLzDlwK9JbYwCcDFvy +Gs8sGnqnnegKCatkewQ0hr8= +=75dW +-----END PGP SIGNATURE----- diff --git a/dev-java/rxtx/files/digest-rxtx-2.1.7.2-r1 b/dev-java/rxtx/files/digest-rxtx-2.1.7.2-r1 new file mode 100644 index 000000000000..335acf61aa6b --- /dev/null +++ b/dev-java/rxtx/files/digest-rxtx-2.1.7.2-r1 @@ -0,0 +1,3 @@ +MD5 9290b4832d46199f8d798a531209640b rxtx-2.1-7r2.zip 1345757 +RMD160 dc569a654fbef58aa521013e170c0200b8b3668f rxtx-2.1-7r2.zip 1345757 +SHA256 31db3852a86105766758975519b27d262407c96cacad4f34ad0de5aae26addd9 rxtx-2.1-7r2.zip 1345757 diff --git a/dev-java/rxtx/rxtx-2.1.7.2-r1.ebuild b/dev-java/rxtx/rxtx-2.1.7.2-r1.ebuild new file mode 100644 index 000000000000..2c7d701d1acd --- /dev/null +++ b/dev-java/rxtx/rxtx-2.1.7.2-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/rxtx/rxtx-2.1.7.2-r1.ebuild,v 1.1 2006/10/31 18:57:20 betelgeuse Exp $ + +inherit flag-o-matic toolchain-funcs versionator autotools java-pkg-2 + +MY_PV="$(replace_version_separator 2 -)" +MY_PV="$(replace_version_separator 3 r ${MY_PV})" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Native lib providing serial and parallel communication for Java" +HOMEPAGE="http://rxtx.org/" +SRC_URI="ftp://ftp.qbang.org/pub/rxtx/${MY_P}.zip" + +LICENSE="LGPL-2" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="doc source lfd" + +RDEPEND=">=virtual/jre-1.4" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + dev-java/ant-core + lfd? ( sys-apps/xinetd ) + source? ( app-arch/zip )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # some minor fixes + sed -i -e "s:UTS_RELEASE::g" configure.in + sed -i -e "s:\(\$(JAVADOC)\):\1 -d api:g" Makefile.am + + # some patches + epatch "${FILESDIR}/${MY_P}-lfd.diff" + epatch "${FILESDIR}/${MY_P}-nouts.diff" + + # update autotools stuff + eautoreconf + elibtoolize +} + +src_compile() { + econf $(use_enable lfd lockfile_server) || die "econf failed" + emake || die "emake failed" + + if use lfd; then + # see INSTALL in src/ldf + $(tc-getCC) ${LDFLAGS} ${CFLAGS} src/lfd/lockdaemon.c -o src/lfd/in.lfd || die "compiling lfd failed" + fi + + if use doc; then + emake docs || die "failed to emake docs" + fi + + #Fix for src zip creation + if use source; then + mkdir -p src_with_pkg/gnu + ln -s ../../src src_with_pkg/gnu/io + fi +} + +src_install() { + java-pkg_dojar RXTXcomm.jar + java-pkg_doso ${CHOST}/.libs/*.so + + dodoc AUTHORS ChangeLog INSTALL PORTING TODO SerialPortInstructions.txt + dohtml RMISecurityManager.html + + if use lfd; then + insinto /etc/xinetd.d + newins "${FILESDIR}/lockfiled.xinetd" lfd + dosbin src/lfd/in.lfd + dodoc src/lfd/LockFileServer.rfc + fi + + use doc && java-pkg_dojavadoc api + use source && java-pkg_dosrc src_with_pkg/gnu +} + +pkg_postinst() { + if use lfd; then + elog "Don't forget to enable the LockFileServer" + elog "daemon (lfd) in /etc/xinetd.d/lfd" + else + elog "RXTX uses UUCP style device-locks. You should" + elog "add every user who needs to access serial ports" + elog "to the 'uucp' group:" + elog + elog " usermod -aG uucp <user>" + fi +} |