dev-libs/md4c: treeclean, promoted to ::gentoo

Signed-off-by: demize <demize@unstable.systems>
This commit is contained in:
demize 2025-03-28 13:50:32 -04:00
parent b7b8b272d2
commit a4da0e08b4
No known key found for this signature in database
GPG Key ID: AECE696834DC11E9
4 changed files with 0 additions and 107 deletions

View File

@ -1,2 +0,0 @@
DIST md4c-0.4.8_p20220115.tar.gz 230786 BLAKE2B a2820563bd2f8094d9b57d1ee4bba629229b789b74b34860b1dfcbd45fffea4a477226ad5e8d9eace52b527c08698223ab9343729e4af605d8f9639166aea106 SHA512 1249e8d9c8aef1d305301c4d71f3d438cb81f0e754d9e3ca15c11bf384be67a112086332f41cfddfa2b89790748da0e7db7e62126dc0d9729846268e0dbee651
DIST md4c-0.5.2.tar.gz 237973 BLAKE2B 7f3f80c1bcfa3040b4458876abc8eabbad387242fbdcde08b34d9a279da56e4c2264a591deb6ad3061c951b4ca547f896589682aa5c6b50febfc03b89c61be3e SHA512 30607ba39d6c59329f5a56a90cd816ff60b82ea752ac2b9df356d756529cfc49170019fae5df32fa94afc0e2a186c66eaf56fa6373d18436c06ace670675ba85

View File

@ -1,45 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
# TODO(NRK):
# - enable tests
# - useflag for static lib (?)
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mity/md4c.git"
else
COMMIT="e9ff661ff818ee94a4a231958d9b6768dc6882c9"
SRC_URI="https://github.com/mity/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark Compliant."
HOMEPAGE="https://github.com/mity/md4c"
LICENSE="MIT"
SLOT="0"
src_prepare() {
cmake_src_prepare
}
src_configure() {
mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=ON
)
cmake_src_configure
}
src_install() {
cmake_src_install
find "${ED}/usr/$(get_libdir)" -name '*.a' -exec rm {} \; || die
}

View File

@ -1,47 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
# TODO(NRK):
# - enable tests
# - useflag for static lib (?)
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mity/md4c.git"
else
MY_VERSION="release-${PV}"
SRC_URI="https://github.com/mity/${PN}/archive/refs/tags/${MY_VERSION}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${MY_VERSION}"
fi
DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark Compliant."
HOMEPAGE="https://github.com/mity/md4c"
LICENSE="MIT"
SLOT="0"
IUSE="+md2html"
src_prepare() {
cmake_src_prepare
}
src_configure() {
mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=ON
-DBUILD_MD2HTML_EXECUTABLE=$(usex md2html ON OFF)
)
cmake_src_configure
}
src_install() {
cmake_src_install
find "${ED}/usr/$(get_libdir)" -name '*.a' -exec rm {} \; || die
}

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nrk@disroot.org</email>
</maintainer>
<use>
<flag name="md2html">Build the md2html cli tool</flag>
</use>
<upstream>
<remote-id type="github">mity/md4c</remote-id>
</upstream>
</pkgmetadata>