37 lines
900 B
Bash
37 lines
900 B
Bash
# Template build file for 'oniguruma'
|
|
pkgname=oniguruma
|
|
version=6.0.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="A multi-charset regular expressions library"
|
|
maintainer="John Regan <john@jrjrtech.com>"
|
|
license="BSD"
|
|
homepage="http://www.geocities.jp/kosako3/oniguruma/"
|
|
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
|
|
checksum=0cd75738a938faff4a48c403fb171e128eb9bbd396621237716dbe98c3ecd1af
|
|
wrksrc="onig-${version}"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
oniguruma-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
oniguruma-doc_package() {
|
|
noarch=yes
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmkdir usr/share/doc/$sourcepkg
|
|
vcopy doc/* usr/share/doc/$sourcepkg
|
|
}
|
|
}
|
|
|