Skip to content

Commit

Permalink
jq: Do not install vendored Oniguruma library
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Dec 14, 2023
1 parent 40ed42a commit 1a103d6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions jq.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION jq-1.7-0
# BEE_VERSION jq-1.7-1

# SRCURL[0]="https://github.com/stedolan/jq/releases/download/jq-${PKGVERSION}/jq-${PKGVERSION}.tar.gz"

Expand Down Expand Up @@ -28,5 +28,14 @@ mee_configure() {

mee_install() {
bee_install
cd ${D} && rm -rvf usr/share/doc
(
cd ${D}
rm -rvf usr/share/doc
# Note: If the Oniguruma library is not found during build time of this
# package, a vendored versions gets installed. We don't want that.
rm -f usr/include/oniguruma.h usr/include/oniggnu.h
rm -f usr/lib/libonig.*
rm -f usr/lib/pkgconfig/oniguruma.pc
rm -f usr/bin/onig-config
)
}

0 comments on commit 1a103d6

Please sign in to comment.