summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-09-11 20:46:10 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-09-11 20:46:10 +0000
commit443076c87d1a337039618dc9af9bc438bbb1a9e7 (patch)
treefe3dc8a3367b5947e3679cc4213376ffc682f630 /www-servers/resin
parentStable on alpha and amd64. (diff)
downloadgentoo-2-443076c87d1a337039618dc9af9bc438bbb1a9e7.tar.gz
gentoo-2-443076c87d1a337039618dc9af9bc438bbb1a9e7.tar.bz2
gentoo-2-443076c87d1a337039618dc9af9bc438bbb1a9e7.zip
Added source USE flag.
(Portage version: 2.1.1)
Diffstat (limited to 'www-servers/resin')
-rw-r--r--www-servers/resin/ChangeLog5
-rw-r--r--www-servers/resin/resin-3.0.21.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog
index 7f682e7fc709..878041ce6a3f 100644
--- a/www-servers/resin/ChangeLog
+++ b/www-servers/resin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-servers/resin
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.15 2006/08/14 21:19:05 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.16 2006/09/11 20:46:10 nelchael Exp $
+
+ 11 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.21.ebuild:
+ Added source USE flag.
*resin-3.0.21 (14 Aug 2006)
diff --git a/www-servers/resin/resin-3.0.21.ebuild b/www-servers/resin/resin-3.0.21.ebuild
index b1b1b5ede791..f7b0b5d95cd1 100644
--- a/www-servers/resin/resin-3.0.21.ebuild
+++ b/www-servers/resin/resin-3.0.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.0.21.ebuild,v 1.1 2006/08/14 21:19:05 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.0.21.ebuild,v 1.2 2006/09/11 20:46:10 nelchael Exp $
inherit java-pkg-2 java-ant-2 eutils flag-o-matic
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.caucho.com"
SRC_URI="http://www.caucho.com/download/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-IUSE="doc"
+IUSE="doc source"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
@@ -105,6 +105,11 @@ src_install() {
dosym /etc/resin/resin.conf /etc/resin/resin.xml
+ use source && {
+ einfo "Zipping source..."
+ java-pkg_dosrc ${S}/modules/*/src/* 2> /dev/null
+ }
+
einfo "Removing unneeded files..."
rm -f ${D}/${RESIN_HOME}/bin/*.in
rm -f ${D}/etc/resin/*.orig