1
0

dev-libs/libcyaml: add 1.4.1

This commit is contained in:
Ryan Fox 2023-06-12 21:52:54 -07:00
parent 60225ffce7
commit 322b5230e8
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 30 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST libcyaml-1.3.1.tar.gz 85605 BLAKE2B 5e78ccca8784f663f77b3bf87946f1898328323384522fcadd85da6b9daef73e3401f86214e3dddd494bc342ef362c7ec253284b9d74f8e147951b64e8a53a04 SHA512 2daa380e579836aae78d442323ca4a13125ba0ac7be2a0ad9fc79d05b5b3c14a4c5041ee50c5c28ed71793d7748e50d68ac3c65cf856afe2614d098ad62b6e88
DIST libcyaml-1.4.0.tar.gz 86494 BLAKE2B caaf57f5223e8097ffaf8fc86d5df5eb4a024e77cc83156087d1f176addb35f605167df99aca891f8d8ae9d3d7a472ac72867145cd95a9a6b417ea3b7bf4d2ab SHA512 6f930915e14dc9148495054e9f6c2bb879350632ce7053b53cc8871c84a85038e3307e88d52f75119e62b5bd99de8b9cc8c0a6a3235914f1941778cbc1279746
DIST libcyaml-1.4.1.tar.gz 86791 BLAKE2B 4ff80a5c94d42f78c5e97c306e5e515f015bba4a52e0fbfcfe575f4ba7b56263f67f40d69682a035a0e41bbbd93ff750f084487505c91038ffa2ddc2049a6244 SHA512 ecbb8f9e7091027fe288b3a2c8c995cdea83b5c7fe208a87db3a8e1b72b7201c42adfb1b9bc6628d478b66be9d1f7c8dd134358ce43fa6d6cc6c9d20f6452a36

View File

@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tlsa/libcyaml.git"
else
SRC_URI="https://github.com/tlsa/libcyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="C library for reading and writing YAML"
HOMEPAGE="https://github.com/tlsa/libcyaml/"
LICENSE="ISC"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
emake VARIANT=release
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" LIBDIR="$(get_libdir)" VARIANT=release install
}