Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libvorbis: update 1.2.3 to 1.3.7
- be0ify
- build static and shared libs
- fix lib symlink creation. Only symlink libvorbis.so and
file libvorbis.so.x.y.z got installed, ldconfig fails to
create libvorbis.so.x so we'll do that manually.
  • Loading branch information
wwwutz committed Nov 12, 2021
1 parent b8e937b commit c6b119a
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 30 deletions.
30 changes: 0 additions & 30 deletions libvorbis-1.2.3-0.bee

This file was deleted.

45 changes: 45 additions & 0 deletions libvorbis.be0
@@ -0,0 +1,45 @@
#!/bin/env beesh

# BEE_VERSION libvorbis-1.3.7-0

# SRCURL[0]="https://downloads.xiph.org/releases/vorbis/libvorbis-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/9b8034da6edc1a17d18b9bc4542015c7/libvorbis-1.3.7.tar.gz"

#PATCHURL[0]=""

#mee_patch() {
# bee_patch
#}

mee_configure() {
# build static libs
bee_configure
bee_build
bee_install

# build static libs
bee_configure \
-DBUILD_SHARED_LIBS=ON
}

#mee_build() {
# bee_build
#}

mee_install() {
bee_install

cd ${D}/usr/lib

for baselib in *.so.*.*.*
do
shortlib=$baselib
while extn=$(echo $shortlib | sed -n 's/.*\(\.[0-9][0-9]*\.[0-9][0-9]*\)$/\1/p')
[ -n "$extn" ]
do
shortlib=$(basename $shortlib $extn)
ln -v -f -s $baselib $shortlib
done
done
}

0 comments on commit c6b119a

Please sign in to comment.