620481a291
Also explicitly enable the POSIX API, since upstream now has it disabled by default.
38 lines
974 B
Bash
38 lines
974 B
Bash
# Template file for 'oniguruma'
|
|
pkgname=oniguruma
|
|
version=6.9.5.rev1
|
|
revision=1
|
|
_ver="${version%.*}_${version##*.}"
|
|
wrksrc="onig-${version%.*}"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-posix-api=yes"
|
|
short_desc="Multi-charset regular expressions library"
|
|
maintainer="John Regan <john@jrjrtech.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/kkos/oniguruma"
|
|
distfiles="${homepage}/releases/download/v${_ver}/onig-${_ver}.tar.gz"
|
|
checksum=d33c849d1672af227944878cefe0a8fcf26fc62bedba32aa517f2f63c314a99e
|
|
|
|
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}
|
|
}
|
|
}
|