/[gentoo-x86]/www-apps/coppermine/coppermine-1.5.20.ebuild
Gentoo

Contents of /www-apps/coppermine/coppermine-1.5.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Jun 22 22:17:54 2012 UTC (2 years ago) by mabi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -4 lines
drop additional dep on imagemagick (also solves bug #314383)

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 mabi 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 mabi 1.2 # $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/coppermine-1.5.20.ebuild,v 1.1 2012/06/22 22:14:38 mabi Exp $
4 mabi 1.1
5     EAPI=4
6    
7     inherit webapp versionator
8    
9     DESCRIPTION="Web picture gallery written in PHP with a MySQL backend"
10     HOMEPAGE="http://coppermine.sourceforge.net/"
11     SRC_URI="mirror://sourceforge/eenemeenemuu.u/cpg${PV}.zip"
12    
13     LICENSE="GPL-2"
14     KEYWORDS="~amd64 ~sparc ~x86"
15 mabi 1.2 IUSE=""
16 mabi 1.1
17     DEPEND="app-arch/unzip"
18     RDEPEND="virtual/httpd-php
19 mabi 1.2 dev-lang/php[gd,mysql]"
20 mabi 1.1
21     S="${WORKDIR}"/$(version_format_string 'cpg$1$2x')
22    
23     need_httpd_cgi
24    
25     src_install() {
26     webapp_src_preinst
27    
28     dodoc CHANGELOG.txt README.txt
29     dohtml -r docs
30     rm -rf CHANGELOG.txt README.txt COPYING docs/
31    
32     insinto "${MY_HTDOCSDIR}"
33     doins -r .
34    
35     dodir "${MY_HTDOCSDIR}"/albums/{userpics,edit}
36     webapp_serverowned "${MY_HTDOCSDIR}"/albums{,/userpics,/edit}
37     webapp_serverowned "${MY_HTDOCSDIR}"/include
38    
39     webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
40     webapp_src_install
41     }

  ViewVC Help
Powered by ViewVC 1.1.20