mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 09:07:01 +02:00
37 lines
953 B
Bash
37 lines
953 B
Bash
# Template file for 'iniparser'
|
|
pkgname=iniparser
|
|
version=4.2.5
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_DOCS=ON"
|
|
hostmakedepends="doxygen"
|
|
short_desc="Free stand-alone ini file parsing library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://gitlab.com/iniparser/iniparser"
|
|
changelog="https://gitlab.com/iniparser/iniparser/-/releases"
|
|
distfiles="https://gitlab.com/iniparser/iniparser/-/archive/v${version}/iniparser-v${version}.tar.gz"
|
|
checksum=5f2e25d88691fb80965266d23c65697542ddfd9504dc17660dd58f6244ceb466
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
iniparser-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
iniparser-doc_package() {
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmove usr/share/doc/iniparser
|
|
}
|
|
}
|