summaryrefslogtreecommitdiff
path: root/dev-php/libchart
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/libchart
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/libchart')
-rw-r--r--dev-php/libchart/Manifest3
-rw-r--r--dev-php/libchart/libchart-1.3.ebuild31
-rw-r--r--dev-php/libchart/metadata.xml11
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-php/libchart/Manifest b/dev-php/libchart/Manifest
new file mode 100644
index 000000000000..d13ce27c6568
--- /dev/null
+++ b/dev-php/libchart/Manifest
@@ -0,0 +1,3 @@
+DIST libchart-1.3.tar.gz 106204 BLAKE2B 55e133ad55b54377211cf165ac77a545ba770942f383c3839ce1eacf82afaf831ec80711375a4ff4a7be55f1e4270fb886dafae2a21b1a041c5da5384e4aee93 SHA512 5d2a0b014546487029f552f225fa83de856210a997e69bb5b129e99790f5acfdcfff904077126c42f82974d10f81e7e0342991221af5f108902b2792df24d586
+EBUILD libchart-1.3.ebuild 741 BLAKE2B 818ee39f90376eb42a209b413ff8a677d2d043a9897c833bda15a77027ecdf5454447bd86aff3603708a1ed1b79a122b6408eea6a604f1cf85e2a5181396eec6 SHA512 e336b809c310da8df4b56c4e55cd7abf60c62a632a4e25d73946f3bf797809fa99d4bd28434bfd664468f8b0d6f4f6245821eb37cdff23a362d60357dc7c5a2b
+MISC metadata.xml 317 BLAKE2B a489b4ad4a1a967c43a0f5f4e346fe8279a75e1a53928fe2fcd568b6a76cb08aec16e32ab7005b68baefd3ad5a59cb46ceaa1375b7aa44d7fe329074518fab87 SHA512 3da0c7f5f082f41cd79f76699a5273859ac72b98b82d39ee2790ac5a316d79aed14f68ee579dbc28fc9ef74c47b9a76920e52848a50b6765cca4493bbcd97602
diff --git a/dev-php/libchart/libchart-1.3.ebuild b/dev-php/libchart/libchart-1.3.ebuild
new file mode 100644
index 000000000000..4e9e63418aab
--- /dev/null
+++ b/dev-php/libchart/libchart-1.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Easy-to-use chart creation library for PHP"
+HOMEPAGE="http://naku.dohcrew.com/libchart https://github.com/naku/libchart"
+SRC_URI="https://github.com/naku/${PN}/releases/download/release/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3 BitstreamVera"
+KEYWORDS="~amd64 ~x86"
+SLOT=0
+IUSE="examples"
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[gd,truetype]"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ dodoc "${PN}"/{ChangeLog,README}
+
+ if use examples ; then
+ # PHP won't run a compressed example...
+ docompress -x "/usr/share/doc/${PF}/demo"
+ dodoc -r demo/
+ fi
+
+ insinto "/usr/share/php/${PN}"
+ doins -r "${PN}"/{classes,fonts,images}
+}
diff --git a/dev-php/libchart/metadata.xml b/dev-php/libchart/metadata.xml
new file mode 100644
index 000000000000..fb6b9991bc6b
--- /dev/null
+++ b/dev-php/libchart/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">naku/libchart</remote-id>
+ </upstream>
+</pkgmetadata>