1
0

dev-libs/libcyaml: add 1.4.0

This commit is contained in:
Ryan Fox 2023-04-03 01:13:06 -07:00
parent 97c6b7965f
commit dfd44a3e48
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 30 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST libcyaml-1.3.1.tar.gz 85605 BLAKE2B 5e78ccca8784f663f77b3bf87946f1898328323384522fcadd85da6b9daef73e3401f86214e3dddd494bc342ef362c7ec253284b9d74f8e147951b64e8a53a04 SHA512 2daa380e579836aae78d442323ca4a13125ba0ac7be2a0ad9fc79d05b5b3c14a4c5041ee50c5c28ed71793d7748e50d68ac3c65cf856afe2614d098ad62b6e88
DIST libcyaml-1.4.0.tar.gz 86494 BLAKE2B caaf57f5223e8097ffaf8fc86d5df5eb4a024e77cc83156087d1f176addb35f605167df99aca891f8d8ae9d3d7a472ac72867145cd95a9a6b417ea3b7bf4d2ab SHA512 6f930915e14dc9148495054e9f6c2bb879350632ce7053b53cc8871c84a85038e3307e88d52f75119e62b5bd99de8b9cc8c0a6a3235914f1941778cbc1279746

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
}