mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-cpp/simpleini: Add new package
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
This commit is contained in:
1
dev-cpp/simpleini/Manifest
Normal file
1
dev-cpp/simpleini/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST simpleini-4.17_p20210831.tar.gz 60205 BLAKE2B b72ef78fa3261548188fbd5b971519b64073ea89fde11be1dbdbd850fa72295964fbe22ddd712f7651f833de4a855340e822d9332cf8c48a5ee3821b32e23dd5 SHA512 57b7ab28976fb5e1c54e613fbc9dc6a69054c210927aeba96b00348da0cae75e7ae2764ea5f4e33a842557269eff81522585187d3f1620e779900629db7f59b4
|
||||
8
dev-cpp/simpleini/metadata.xml
Normal file
8
dev-cpp/simpleini/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nex+b-g-o@nexadn.de</email>
|
||||
<name>Adrian Schollmeyer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
35
dev-cpp/simpleini/simpleini-4.17_p20210831.ebuild
Normal file
35
dev-cpp/simpleini/simpleini-4.17_p20210831.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
SIMPLEINI_COMMIT="7bca74f6535a37846162383e52071f380c99a43a"
|
||||
|
||||
DESCRIPTION="C++ library for reading/writing INI files"
|
||||
HOMEPAGE="https://github.com/brofield/simpleini"
|
||||
SRC_URI="https://github.com/brofield/simpleini/archive/${SIMPLEINI_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/simpleini-${SIMPLEINI_COMMIT}"
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} -c ConvertUTF.c -o ConvertUTF.o || die
|
||||
$(tc-getCC) -shared -fPIC ${LDFLAGS} ConvertUTF.o -o libsimpleini.so || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dolib.so libsimpleini.so
|
||||
|
||||
insinto /usr/include/simpleini
|
||||
doins SimpleIni.h ConvertUTF.h
|
||||
}
|
||||
Reference in New Issue
Block a user