blob: c82d44024b1125132fa1dcd06845e48934de1c38 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit webapp depend.php
MY_PN=phpSQLiteAdmin
DESCRIPTION="phpSQLiteAdmin is a Web interface for the administration of SQLite
databases"
HOMEPAGE="http://phpsqliteadmin.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
DEPEND="
dev-db/sqlite
virtual/httpd-php"
S=${WORKDIR}/${MY_PN}-${PV}
pkg_setup() {
webapp_pkg_setup
require_php_with_use sqlite
}
src_install() {
webapp_src_preinst
dodoc changelog.txt javascript.txt readme.txt
cp -R . ${D}${MY_HTDOCSDIR}
webapp_configfile ${MY_HTDOCSDIR}/config.php
webapp_serverowned ${MY_HTDOCSDIR}/config.php
webapp_serverowned ${MY_HTDOCSDIR}/phpsla.sqlite
webapp_src_install
}
|