dev-cpp/plog: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri 2020-05-08 18:28:16 +02:00
parent 8843b398a1
commit 498f417dd6
No known key found for this signature in database
GPG Key ID: 4E4140121372C837
3 changed files with 45 additions and 0 deletions

1
dev-cpp/plog/Manifest Normal file
View File

@ -0,0 +1 @@
DIST plog-1.1.5_p20200501.tar.gz 42321 BLAKE2B 18f4722fbd985abc3c0b14f9eeea6d5c6b0ee8d01b3433ee167a5510f4d661b70e067a11f4a60a0573b4eec3c264d9260dd6bba6f87103769684e4e3e06235ac SHA512 6b0322c61682295150ec5a856faf597ac78897d30314b265908cd9d6da2956b1b2d8562c90818332e42a41f129a3b35ec3d56f1163e7ac979aea617cc01e9c3f

20
dev-cpp/plog/metadata.xml Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>
lssndrbarbieri@gmail.com
</email>
<name>
Alessandro Barbieri
</name>
</maintainer>
<upstream>
<bugs-to>
https://github.com/SergiusTheBest/plog/issues
</bugs-to>
<remote-id type="github">
SergiusTheBest/plog
</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,24 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
COMMIT="fda4a26c26b2d1b2beb68d7b92b56950ec2b8ad2"
DESCRIPTION="Portable, simple and extensible C++ logging library"
HOMEPAGE="https://github.com/SergiusTheBest/plog"
SRC_URI="https://github.com/SergiusTheBest/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="examples"
S="${WORKDIR}/${PN}-${COMMIT}"
src_install() {
doheader -r "include/${PN}"
dodoc README.md
insinto "/usr/share/${P}/samples"
use examples && doins -r samples/.
}