summaryrefslogtreecommitdiff
blob: d09c2bf8e06ed0771f411de34c0922d7b95efedf (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

PHP_LIB_NAME="PHPTAL"

DESCRIPTION="A templating engine for PHP5 that implements Zope Page Templates syntax"
HOMEPAGE="http://phptal.org/"
SRC_URI="http://phptal.org/files/${PHP_LIB_NAME}-${PV}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="dev-lang/php"

S="${WORKDIR}/${PHP_LIB_NAME}-${PV}"

src_install() {
	insinto /usr/share/php/${PN}
	doins -r "${PHP_LIB_NAME}"
	doins PHPTAL.php phptal_lint.php

	dodoc README
}