mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
oniguruma: enable cross compilation; -doc subpkg is noarch.
This commit is contained in:
parent
6f70bc1602
commit
756c4a9920
1 changed files with 4 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'oniguruma'
|
# Template build file for 'oniguruma'
|
||||||
pkgname=oniguruma
|
pkgname=oniguruma
|
||||||
version=5.9.6
|
version=5.9.6
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="A multi-charset regular expressions library"
|
short_desc="A multi-charset regular expressions library"
|
||||||
maintainer="John Regan <john@jrjrtech.com>"
|
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"
|
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
|
||||||
checksum="d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7"
|
checksum="d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7"
|
||||||
wrksrc="onig-${version}"
|
wrksrc="onig-${version}"
|
||||||
nocross="yes"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
@ -26,12 +25,12 @@ oniguruma-devel_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
oniguruma-doc_package() {
|
oniguruma-doc_package() {
|
||||||
|
noarch=yes
|
||||||
short_desc+=" - documentation"
|
short_desc+=" - documentation"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
mkdir -p $PKGDESTDIR/usr/share/doc
|
vmkdir usr/share/doc/$sourcepkg
|
||||||
cp -r doc $PKGDESTDIR/usr/share/doc/oniguruma
|
vcopy doc/* usr/share/doc/$sourcepkg
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue