www-apps/coppermine - 1.6.28 (stowe-verlay)

Search

Install

Install this version:

emerge -a =www-apps/coppermine-1.6.28

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-apps/coppermine-1.6.28

Or alternatively:

emerge --autounmask-write -a =www-apps/coppermine-1.6.28

Package Information

Description:
Web picture gallery written in PHP with a MySQL backend
Homepage:
http://coppermine.sourceforge.net/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.6.28 8 ~amd64 ~sparc ~x86
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit webapp

DESCRIPTION="Web picture gallery written in PHP with a MySQL backend"
HOMEPAGE="http://coppermine.sourceforge.net/"
SRC_URI="https://github.com/coppermine-gallery/cpg1.6.x/archive/v${PV}.zip"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""

BDEPEND="app-arch/unzip"
RDEPEND="virtual/httpd-php
	dev-lang/php[gd,mysql]"

S="${WORKDIR}/cpg1.6.x-${PV}"

need_httpd_cgi

src_install() {
	webapp_src_preinst

	dodoc CHANGELOG.txt README.txt
	rm -rf CHANGELOG.txt README.txt

	insinto "${MY_HTDOCSDIR}"
	doins -r .

	dodir "${MY_HTDOCSDIR}"/albums/{userpics,edit}
	webapp_serverowned "${MY_HTDOCSDIR}"/albums{,/userpics,/edit}
	webapp_serverowned "${MY_HTDOCSDIR}"/include

	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
	webapp_src_install
}

Inherited Eclasses

Dependencies

RDEPEND

virtual/httpd-php
	dev-lang/php[gd,mysql]

BDEPEND

app-arch/unzip

Manifest for 1.6.28

Type File Size Source URLs
DIST v1.6.28.zip 4261560 bytes https://github.com/coppermine-gallery/cpg1.6.x/archive/v1.6.28.zip