2015-08-26 18:00:13 +00:00
|
|
|
# Template build file for 'oniguruma'
|
|
|
|
pkgname=oniguruma
|
|
|
|
version=5.9.6
|
2015-09-28 07:52:07 +00:00
|
|
|
revision=2
|
2015-08-26 18:00:13 +00:00
|
|
|
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="$homepage/archive/onig-${version}.tar.gz"
|
|
|
|
checksum="d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7"
|
|
|
|
wrksrc="onig-${version}"
|
|
|
|
nocross="yes"
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-28 07:52:07 +00:00
|
|
|
oniguruma-doc_package() {
|
2015-08-26 18:00:13 +00:00
|
|
|
short_desc+=" - documentation"
|
|
|
|
pkg_install() {
|
|
|
|
mkdir -p $PKGDESTDIR/usr/share/doc
|
|
|
|
cp -r doc $PKGDESTDIR/usr/share/doc/oniguruma
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|