diff options
author | Anna Zubenko <sheela.na.geek@gmail.com> | 2011-10-22 14:55:22 +0300 |
---|---|---|
committer | Anna Zubenko <sheela.na.geek@gmail.com> | 2011-10-22 14:55:22 +0300 |
commit | a57b11693261d86d43e52e2a8ae731087a1009be (patch) | |
tree | 6771b943978339968795f4f06991bb10fe1d0bf1 | |
parent | new ebuild (diff) | |
download | eatnumber1-a57b11693261d86d43e52e2a8ae731087a1009be.tar.gz eatnumber1-a57b11693261d86d43e52e2a8ae731087a1009be.tar.bz2 eatnumber1-a57b11693261d86d43e52e2a8ae731087a1009be.zip |
update of portage coppermine ebuild
-rw-r--r-- | www-apps/coppermine/Manifest | 2 | ||||
-rw-r--r-- | www-apps/coppermine/coppermine-1.5.16.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/www-apps/coppermine/Manifest b/www-apps/coppermine/Manifest new file mode 100644 index 0000000..982d05d --- /dev/null +++ b/www-apps/coppermine/Manifest @@ -0,0 +1,2 @@ +DIST cpg1.5.16.zip 19026364 RMD160 6a361a0dbc71c96a399c50b3b5da86c0fb1dafe8 SHA1 db871a5fbfe9eb21f8fa788298f35e48cfd7c743 SHA256 9b3acb11193de155ffb618175943835c8749009b5d21e17a2f231d42972dd8a5 +EBUILD coppermine-1.5.16.ebuild 1124 RMD160 c8420702b462c15c8befb4dfb8059dc546a9a3e4 SHA1 22b1d1743e73438c495fa8c451230f6fd38bc7e1 SHA256 d403a25579730e9382864051887554f311977904750c66a1b3f90bce86e04173 diff --git a/www-apps/coppermine/coppermine-1.5.16.ebuild b/www-apps/coppermine/coppermine-1.5.16.ebuild new file mode 100644 index 0000000..65ba2a0 --- /dev/null +++ b/www-apps/coppermine/coppermine-1.5.16.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/coppermine-1.4.27.ebuild,v 1.1 2011/06/09 06:53:53 pva Exp $ + +inherit webapp versionator depend.php + +DESCRIPTION="Web picture gallery written in PHP with a MySQL backend" +HOMEPAGE="http://coppermine.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/cpg${PV}.zip" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="imagemagick" + +DEPEND="app-arch/unzip" +RDEPEND="imagemagick? ( media-gfx/imagemagick )" + +S="${WORKDIR}"/cpg$(delete_all_version_separators ${PV}) + +need_httpd_cgi +need_php_httpd + +pkg_setup() { + webapp_pkg_setup + require_php_with_use mysql +} + +src_install() { + webapp_src_preinst + + dodoc CHANGELOG README.txt + dohtml -r docs + rm -rf CHANGELOG README.txt COPYING docs/ + + 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 +} |