blob: 8db381cbb202c817d21c8258d2cb6cd813cacd76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/gnopaste-0.5.5.ebuild,v 1.6 2012/06/24 08:59:57 mabi Exp $
EAPI=4
inherit webapp eutils
DESCRIPTION="gnopaste is a nopaste script based on PHP with MySQL"
HOMEPAGE="http://gnopaste.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="virtual/httpd-php
dev-lang/php[mysql]"
need_httpd_cgi
src_prepare() {
esvn_clean
}
src_install() {
webapp_src_preinst
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_configfile "${MY_HTDOCSDIR}"/config.php
webapp_serverowned "${MY_HTDOCSDIR}"/config.php
webapp_serverowned "${MY_HTDOCSDIR}"/install.php
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-${PV}.txt
webapp_src_install
}
|