Last active
November 10, 2020 16:03
-
-
Save sburris0/c5d8c6c439a60ef4b09e6d9d100865cb to your computer and use it in GitHub Desktop.
libcyaml template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Template file for 'libcyaml' | |
pkgname=libcyaml | |
version=1.0.2 | |
revision=1 | |
build_style=gnu-makefile | |
hostmakedepends="" | |
makedepends="libyaml-devel" | |
depends="libyaml" | |
short_desc="C library for reading and writing YAML" | |
maintainer="Spencer Burris <sburris@posteo.net>" | |
license="ISC" | |
homepage="https://github.com/tlsa/libcyaml" | |
distfiles="${homepage}/archive/v${version}.tar.gz" | |
checksum=a6bcb2540452fc8da0cd5c98605a7604a911d37dc0f25c287c71b13b8dc3675f | |
libcyaml-devel_package() { | |
short_desc+= " - development files" | |
depends="${sourcepkg}>=${version}_${revision}" | |
pkg_install() { | |
vmove "usr/include" | |
} | |
} | |
post_install() { | |
vlicense LICENSE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
L3: version 1.1.0 is out
L6:
hostmakedepends="pkg-config"
L8: there is a chance, that xbps will automatically detect, that libyaml is a dependency, because
libyaml-devel
is set in makedepends. I suggest you to check that.L17: no space after
=
thats what i know/found so far.