dev-php/onphp: Add new github snapshot with updated EAPI and Homepage

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Brian Evans
2017-07-10 10:59:18 -04:00
parent 5c15d7e9bf
commit be176d72b5
3 changed files with 33 additions and 30 deletions

View File

@@ -1,2 +1,2 @@
DIST onphp-1.0.10.tar.bz2 298669 SHA256 f655f84dc0a314c0972b2bb4afe357bc928153ac0e6bf45035d54cd4401787fc SHA512 f8a44325fcefd2162bb08ae494396f4c8e91f183c61c5234f1e29807fa3eb9320bb2f081e99ca1e6bf588b1bd77d5a88b9f2d98f20c1907cffe87c28c30dd1cc WHIRLPOOL 7fbea00b492153f03bda84138c468f198edce542a7db8fa1c719660ffcbda3dfc41f5b9bd30749e351f8f24f6f3552cb41e191a5bba43da89ca68aaff28db44c
DIST onphp-1.0.11_pre20141124.tar.gz 457828 SHA256 818d8d2ba1ee9622dbe57d8e3d5b5884ccb260715d39f9d5979ae9b0ff06eb1d SHA512 d943a787d352f25f9f2fd0eadbae64a71d1fe7f6e56e98f82c803c2da53332ba659a0cc907849ec824a7d9639cde794bd84d5df82a9b724bf1c78da92a396b56 WHIRLPOOL efd91466cbe0c92a53b5d895e003546929db057448989c1d422443befef469bda574bd8ae4228dbe1c9fa34dc1bb6f0a82d86829ce330e2ca1682fb560824d20
DIST onphp-api-1.0.10.tar.bz2 35427359 SHA256 cdc0542a376da9fe099bf205ff990ca229554b5a6572c97381060afc6fb958ab SHA512 4acdb9c804fd2bb7cfbefd22efcb0956972b2b94679627352169948a0fb23f97deca2f7aa77690cf3a5b6614299c0d9515802d9321cfa680e9a4a06d0533d4e5 WHIRLPOOL be73d5dc21e7113e4e721c876c3420375bd3e82ebc57266548d1d654a437561b1a93650e4d3d22764715d06245f5cf7240df6ce7a6acc58d35e39aab66e0807b

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
KEYWORDS="~amd64 ~x86"
DESCRIPTION="onPHP is the LGPL'ed multi-purpose object-oriented PHP framework"
HOMEPAGE="http://onphp.org/"
SRC_URI="http://onphp.org/download/${P}.tar.bz2
doc? ( http://onphp.org/download/${PN}-api-${PV}.tar.bz2 )"
LICENSE="LGPL-2"
SLOT="0"
IUSE="doc"
DEPEND=""
RDEPEND="dev-lang/php"
src_install() {
dodoc `find doc -maxdepth 1 -type f -print`
if use doc ; then
dohtml -r "${WORKDIR}/${PN}-api-${PV}/"*
fi
insinto "/usr/share/php/${PN}"
doins global.inc.php.tpl
doins -r core main meta
}

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit vcs-snapshot
KEYWORDS="~amd64 ~x86"
DESCRIPTION="onPHP is the LGPL'ed multi-purpose object-oriented PHP framework"
HOMEPAGE="https://github.com/onPHP/onphp-framework/"
SRC_URI="https://github.com/onPHP/onphp-framework/archive/706ddd5a2a33bd65a13c4e3ec8c46c5ce700133c.tar.gz -> ${P}.tar.gz
doc? ( http://onphp.org/download/${PN}-api-1.0.10.tar.bz2 )
"
LICENSE="LGPL-2"
SLOT="0"
IUSE="doc"
DEPEND=""
RDEPEND="dev-lang/php:*"
src_install() {
rm doc/LICENSE || die
dodoc $(find doc -maxdepth 1 -type f -print)
if use doc ; then
local HTML_DOCS=( "${WORKDIR}/${PN}-api-1.0.10/" )
einstalldocs
fi
insinto "/usr/share/php/${PN}"
doins global.inc.php.tpl
doins -r core main meta
}