Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
2 changed files
with
45 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
|