mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
c07f91474d
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
12 lines
616 B
Bash
Executable file
12 lines
616 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=libogg
|
|
version=1.3.4
|
|
useconfigure=true
|
|
files="https://github.com/xiph/ogg/releases/download/v${version}/libogg-${version}.tar.gz libogg-${version}.tar.gz fe5670640bd49e828d64d2879c31cb4dde9758681bb664f9bdbf159a01b0c76e"
|
|
auth_type=sha256
|
|
|
|
install() {
|
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
|
|
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libogg.so -Wl,-soname,libogg.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libogg.a -Wl,--no-whole-archive
|
|
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libogg.la
|
|
}
|