diff options
author | Brian Evans <grknight@gentoo.org> | 2018-10-30 16:43:08 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-10-30 16:43:08 -0400 |
commit | 1789efbcecf63f21a233de7eea5dcafc431890c9 (patch) | |
tree | 6b46d2018283c2d73274269f48b4954d99bccd92 | |
parent | dev-util/strace: Removed old. (diff) | |
download | gentoo-1789efbcecf63f21a233de7eea5dcafc431890c9.tar.gz gentoo-1789efbcecf63f21a233de7eea5dcafc431890c9.tar.bz2 gentoo-1789efbcecf63f21a233de7eea5dcafc431890c9.zip |
dev-php/SabreAMF: Version bump for 1.5.0 tag
Signed-off-by: Brian Evans <grknight@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r-- | dev-php/SabreAMF/Manifest | 1 | ||||
-rw-r--r-- | dev-php/SabreAMF/SabreAMF-1.5.0.ebuild | 29 | ||||
-rw-r--r-- | dev-php/SabreAMF/files/autoload.php | 8 |
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-php/SabreAMF/Manifest b/dev-php/SabreAMF/Manifest index 444a7fb7826a..3eacd1609459 100644 --- a/dev-php/SabreAMF/Manifest +++ b/dev-php/SabreAMF/Manifest @@ -1 +1,2 @@ DIST SabreAMF-1.3.234_p0.tar.gz 82526 BLAKE2B 9c6726db4d7920ed202014de803e755a481bb49addce8035533b8b9507f6cff40bd18d1a27e812084518748edf36d7d1b2ae5460e7414cec59e7bbf142428514 SHA512 4aef460300d6af925b228ec9fbde635851ec42ac3c9920165df4175b7e7de2d0bc9225bda869c095b8751d7e7f39ecb20866e8a9190df4c728c37f7de60ec4cc +DIST SabreAMF-1.5.0.tar.gz 83408 BLAKE2B 2df210f9a42e00de0adfac94ff9b89ccc918796c79e7df5602ba71bf8cf44ebea7374557d1062e1f95c9578cc95451daf36986e98042f2bdcb17e43581096cfe SHA512 4c0eead7f3adb64001cb4f40f680ade4cd0259d8b24d57970081e19447a69269753c5c5adecef327ba3a9f0cb2c14ff05575c289694bee752007f03e14af4d0f diff --git a/dev-php/SabreAMF/SabreAMF-1.5.0.ebuild b/dev-php/SabreAMF/SabreAMF-1.5.0.ebuild new file mode 100644 index 000000000000..ce985ece45a7 --- /dev/null +++ b/dev-php/SabreAMF/SabreAMF-1.5.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="SabreAMF is a Flash Remoting server and client for PHP" +HOMEPAGE="https://github.com/evert/SabreAMF" +SRC_URI="https://github.com/evert/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND="dev-php/fedora-autoloader" + +DOCS=( README.md ChangeLog ) + +src_install() { + insinto /usr/share/php/${PN} + doins -r lib/${PN}/* "${FILESDIR}/autoload.php" + einstalldocs + if use examples ; then + insinto /usr/share/doc/${P}/examples + docompress -x /usr/share/doc/${P}/examples + doins examples/* + fi +} diff --git a/dev-php/SabreAMF/files/autoload.php b/dev-php/SabreAMF/files/autoload.php new file mode 100644 index 000000000000..55c3461e485f --- /dev/null +++ b/dev-php/SabreAMF/files/autoload.php @@ -0,0 +1,8 @@ +<?php +/* Autoloader for dev-php/SabreAMF */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +Fedora\Autoloader\Autoload::addPsr0('SabreAMF_', __DIR__.'/..'); |