mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 16:47:00 +02:00
37 lines
990 B
Bash
37 lines
990 B
Bash
# Template file for 'oniguruma'
|
|
pkgname=oniguruma
|
|
version=6.9.10
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-posix-api=yes"
|
|
short_desc="Multi-charset regular expressions library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/kkos/oniguruma"
|
|
changelog="https://github.com/kkos/oniguruma/releases"
|
|
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
|
|
checksum=2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
oniguruma-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/onig-config
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
oniguruma-doc_package() {
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmkdir usr/share/doc/${sourcepkg}
|
|
vcopy "doc/*" usr/share/doc/${sourcepkg}
|
|
}
|
|
}
|