mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 02:52:58 +02:00
New package: toml11-4.4.0
This commit is contained in:
parent
5aa2b71d07
commit
e6e8ee3115
1 changed files with 26 additions and 0 deletions
26
srcpkgs/toml11/template
Normal file
26
srcpkgs/toml11/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'toml11'
|
||||
pkgname=toml11
|
||||
version=4.4.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
short_desc="TOML for Modern C++"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://toruniina.github.io/toml11/"
|
||||
distfiles="https://github.com/ToruNiina/toml11/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=815bfe6792aa11a13a133b86e7f0f45edc5d71eb78f5fb6686c49c7f792b9049
|
||||
|
||||
post_install() {
|
||||
cat <<-EOF >toml11.pc
|
||||
prefix=/usr
|
||||
exec_prefix=\${prefix}
|
||||
includedir=\${prefix}/include
|
||||
libdir=\${exec_prefix}/lib
|
||||
|
||||
Name: toml11
|
||||
Description: ${short_desc}
|
||||
Version: ${version}
|
||||
Cflags: -I\${includedir}
|
||||
EOF
|
||||
vinstall toml11.pc 644 usr/lib/pkgconfig
|
||||
}
|
Loading…
Add table
Reference in a new issue