Skip to content

jq: update from 1.5. to 1.7 #2988

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 12 additions & 14 deletions jq.be0
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
#!/usr/bin/env beesh

# BEE_VERSION jq-1.5-0
# BEE_VERSION jq-1.7-0

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

# BEE_CONFIGURE=compat

# BEE_BUILDTYPE=

# EXCLUDE=""
SRCURL[0]="https://beehive.molgen.mpg.de/4662fd45f0b5622382fc85c1249739d5/jq-1.7.tar.gz"

# build_in_sourcedir

Expand All @@ -20,15 +16,17 @@ SRCURL[0]="https://github.com/stedolan/jq/releases/download/jq-${PKGVERSION}/jq-
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

mee_build() {
bee_build CFLAGS='-Wno-implicit-fallthrough'
mee_configure() {
CFLAGS="-O2 -fPIC" \
CFLAGS='-Wno-implicit-fallthrough' \
bee_configure --disable-shared
}

#mee_build() {
# bee_build
#}

mee_install() {
bee_install
rm -v ${D}/usr/lib/libjq.a
cd ${D} && rm -rvf usr/share/doc
}