summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2006-01-11 14:59:37 +0000
committerRenat Lumpau <rl03@gentoo.org>2006-01-11 14:59:37 +0000
commitbaf3c865bdd4caa18bd67d667f5e4902954a09a3 (patch)
treec96249fbc5ff2cea22d8ff6d3a3d2ebd8f374564 /www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild
parentCreate mpich2 ebuild for version 1.0.2-p1 (diff)
downloadgentoo-2-baf3c865bdd4caa18bd67d667f5e4902954a09a3.tar.gz
gentoo-2-baf3c865bdd4caa18bd67d667f5e4902954a09a3.tar.bz2
gentoo-2-baf3c865bdd4caa18bd67d667f5e4902954a09a3.zip
Version bump wrt bug #118621, cleaned out old versions.
(Portage version: 2.0.53)
Diffstat (limited to 'www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild')
-rw-r--r--www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild b/www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild
new file mode 100644
index 000000000000..8f5e8b03e5bb
--- /dev/null
+++ b/www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild,v 1.1 2006/01/11 14:59:37 rl03 Exp $
+
+inherit depend.apache perl-module webapp
+
+WEBAPP_MANUAL_SLOT="yes"
+SLOT="0"
+MY_P=${P/_rc/RC}
+DESCRIPTION="Apache gallery for mod_perl"
+SRC_URI="http://apachegallery.dk/download/${MY_P}.tar.gz"
+HOMEPAGE="http://apachegallery.dk/"
+
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="apache2"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="${DEPEND}
+ =dev-lang/perl-5*
+ !apache2? ( >=net-www/apache-1.3.26-r2
+ =www-apache/libapreq-1* )
+ apache2? ( >=net-www/apache-2.0.43-r1
+ =www-apache/libapreq2-2* )
+ virtual/x11
+ >=media-libs/imlib2-1.0.6-r1
+ dev-perl/URI
+ >=dev-perl/ImageInfo-1.04-r2
+ >=dev-perl/ImageSize-2.99-r1
+ dev-perl/text-template
+ >=perl-core/CGI-3.08
+ dev-perl/Image-Imlib2
+"
+
+src_install() {
+ webapp_src_preinst
+ dodoc Changes INSTALL README TODO UPGRADE
+
+ mydoc="INSTALL"
+
+ perl-module_src_install
+
+ insinto ${MY_ICONSDIR}/gallery
+ doins htdocs/*.png
+
+ dodir ${MY_HOSTROOTDIR}/${PN}/templates/default
+ dodir ${MY_HOSTROOTDIR}/${PN}/templates/new
+
+ insinto ${MY_HOSTROOTDIR}/${PN}/templates/default
+ doins templates/default/*
+ insinto ${MY_HOSTROOTDIR}/${PN}/templates/new
+ doins templates/new/*
+
+ if use apache2; then
+ insinto ${APACHE2_VHOSTDIR}
+ doins ${FILESDIR}/76_apache2-gallery.conf
+ else
+ insinto ${APACHE1_VHOSTDIR}
+ doins ${FILESDIR}/76_apache1-gallery.conf
+ fi
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_src_install
+}