summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-02-28 15:09:42 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-02-28 15:09:42 +0000
commit196d9d769d511540376c13ccb6757b6462263b13 (patch)
tree106ba5fcdde427bac694f9c0e5d37920716e61a2 /dev-java/jusb
parentremove redundant entries; bug 168722 (diff)
downloadgentoo-2-196d9d769d511540376c13ccb6757b6462263b13.tar.gz
gentoo-2-196d9d769d511540376c13ccb6757b6462263b13.tar.bz2
gentoo-2-196d9d769d511540376c13ccb6757b6462263b13.zip
Cleanup.
(Portage version: 2.1.2-r12)
Diffstat (limited to 'dev-java/jusb')
-rw-r--r--dev-java/jusb/ChangeLog5
-rw-r--r--dev-java/jusb/files/digest-jusb-0.4.43
-rw-r--r--dev-java/jusb/jusb-0.4.4.ebuild66
3 files changed, 4 insertions, 70 deletions
diff --git a/dev-java/jusb/ChangeLog b/dev-java/jusb/ChangeLog
index 80d0d7da4174..96886a067c5d 100644
--- a/dev-java/jusb/ChangeLog
+++ b/dev-java/jusb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jusb
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jusb/ChangeLog,v 1.3 2007/01/06 11:18:21 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jusb/ChangeLog,v 1.4 2007/02/28 15:09:42 betelgeuse Exp $
+
+ 28 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> -jusb-0.4.4.ebuild:
+ Cleanup.
*jusb-0.4.4-r1 (06 Jan 2007)
diff --git a/dev-java/jusb/files/digest-jusb-0.4.4 b/dev-java/jusb/files/digest-jusb-0.4.4
deleted file mode 100644
index c28d13fdcc2e..000000000000
--- a/dev-java/jusb/files/digest-jusb-0.4.4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2085d1a52a52980e9ca8457b58c1d2c8 jusb-0.4.4-src.tgz 92432
-RMD160 ab2afa4a861e36fc22d44742ec814ef012b7e02a jusb-0.4.4-src.tgz 92432
-SHA256 42782637e3cf190bb4bdf46cd16f827976766ca23d7ef737ac3ed7b11fa0d393 jusb-0.4.4-src.tgz 92432
diff --git a/dev-java/jusb/jusb-0.4.4.ebuild b/dev-java/jusb/jusb-0.4.4.ebuild
deleted file mode 100644
index 58364f006c44..000000000000
--- a/dev-java/jusb/jusb-0.4.4.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jusb/jusb-0.4.4.ebuild,v 1.2 2006/01/31 04:34:18 nichoj Exp $
-
-inherit eutils java-pkg linux-info flag-o-matic multilib
-
-DESCRIPTION="jUSB provides a Free Software Java API for USB"
-HOMEPAGE="http://jusb.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc source"
-
-DEPEND=">=virtual/jdk-1.4
- source? ( app-arch/zip )"
-RDEPEND=">=virtual/jre-1.4"
-
-S=${WORKDIR}
-
-CONFIG_CHECK="USB_DEVICEFS"
-
-ERROR_CONFIG_USB_DEVICEFS="
-You need to turn on the USB device filesystem
-option under USB support in order to use jUSB
-"
-
-src_unpack() {
- unpack ${A}
-
- mkdir src
- tar -xzf src.tgz -C src
-
- # The struct usbdevfs_ctrltransfer is different
- # in latest 2.4 and 2.6 kernels. This patch is
- # to make jusb compile on 2.6 kernels
- ! kernel_is 2 4 && epatch ${FILESDIR}/${P}-native.patch
-
- epatch ${FILESDIR}/${P}-makefile.patch
-}
-
-src_compile() {
- export OSTYPE="linux-gnu"
-
- # makefile patching isnt worth the trouble, only
- # one native source file
- append-flags -fPIC
-
- make || die "Failed to compile"
- use doc && make javadoc
-}
-
-src_install() {
- java-pkg_dojar jusb.jar
- java-pkg_sointo /usr/$(get_libdir)
- java-pkg_doso libjusb.so
-
- dodoc README*
-
- if use doc; then
- java-pkg_dohtml doc/*.html
- java-pkg_dohtml -r apidoc/*
- fi
- use source && java-pkg_dosrc src/*
-}