summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-05-09 21:31:30 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-05-09 21:31:30 +0000
commit663f3a939b569537a4dbe8eae40424c1cd461080 (patch)
tree24a5ebe88eb2ad1d4f5412b2c25bbea07b9e8bf5 /dev-java/cdegroot-db
parenteffected -> affected (diff)
downloadgentoo-2-663f3a939b569537a4dbe8eae40424c1cd461080.tar.gz
gentoo-2-663f3a939b569537a4dbe8eae40424c1cd461080.tar.bz2
gentoo-2-663f3a939b569537a4dbe8eae40424c1cd461080.zip
Remove bundled jars in src_unpack.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-java/cdegroot-db')
-rw-r--r--dev-java/cdegroot-db/ChangeLog6
-rw-r--r--dev-java/cdegroot-db/cdegroot-db-0.08-r1.ebuild13
2 files changed, 12 insertions, 7 deletions
diff --git a/dev-java/cdegroot-db/ChangeLog b/dev-java/cdegroot-db/ChangeLog
index 4510ef733f88..534703fee53a 100644
--- a/dev-java/cdegroot-db/ChangeLog
+++ b/dev-java/cdegroot-db/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/cdegroot-db
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cdegroot-db/ChangeLog,v 1.9 2007/04/25 16:50:53 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cdegroot-db/ChangeLog,v 1.10 2007/05/09 21:31:30 betelgeuse Exp $
+
+ 09 May 2007; Petteri Räty <betelgeuse@gentoo.org>
+ cdegroot-db-0.08-r1.ebuild:
+ Remove bundled jars in src_unpack.
25 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
-cdegroot-db-0.08.ebuild, cdegroot-db-0.08-r1.ebuild:
diff --git a/dev-java/cdegroot-db/cdegroot-db-0.08-r1.ebuild b/dev-java/cdegroot-db/cdegroot-db-0.08-r1.ebuild
index 66412877c001..dd2680f77562 100644
--- a/dev-java/cdegroot-db/cdegroot-db-0.08-r1.ebuild
+++ b/dev-java/cdegroot-db/cdegroot-db-0.08-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cdegroot-db/cdegroot-db-0.08-r1.ebuild,v 1.2 2007/04/25 16:50:53 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cdegroot-db/cdegroot-db-0.08-r1.ebuild,v 1.3 2007/05/09 21:31:30 betelgeuse Exp $
JAVA_PKG_IUSE="doc source"
@@ -22,11 +22,12 @@ S=${WORKDIR}/com.${P/-/.}
src_unpack() {
unpack ${A}
- cd ${S}
- rm -rf src/db/test
+ cd "${S}"
+ rm -rv src/db/test || die
+ rm -v lib/*.jar || die
- cp ${FILESDIR}/build.xml ${S}/build.xml
- epatch ${FILESDIR}/${P}-gentoo.patch
+ cp "${FILESDIR}/build.xml" "${S}/build.xml"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
}
EANT_DOC_TARGET="docs"
@@ -34,7 +35,7 @@ EANT_DOC_TARGET="docs"
src_install() {
java-pkg_dojar dist/${PN}.jar
- dodoc TODO VERSION CHANGES BUGS README
+ dodoc TODO VERSION CHANGES BUGS README || die
use doc && java-pkg_dojavadoc docs
use source && java-pkg_dosrc src/*
}