oniguruma: enable cross compilation; -doc subpkg is noarch.
This commit is contained in:
parent
6f70bc1602
commit
756c4a9920
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'oniguruma'
|
||||
pkgname=oniguruma
|
||||
version=5.9.6
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
short_desc="A multi-charset regular expressions library"
|
||||
maintainer="John Regan <john@jrjrtech.com>"
|
||||
|
@ -10,7 +10,6 @@ homepage="http://www.geocities.jp/kosako3/oniguruma/"
|
|||
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
|
||||
checksum="d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7"
|
||||
wrksrc="onig-${version}"
|
||||
nocross="yes"
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
@ -26,12 +25,12 @@ oniguruma-devel_package() {
|
|||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
oniguruma-doc_package() {
|
||||
noarch=yes
|
||||
short_desc+=" - documentation"
|
||||
pkg_install() {
|
||||
mkdir -p $PKGDESTDIR/usr/share/doc
|
||||
cp -r doc $PKGDESTDIR/usr/share/doc/oniguruma
|
||||
vmkdir usr/share/doc/$sourcepkg
|
||||
vcopy doc/* usr/share/doc/$sourcepkg
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue