summaryrefslogtreecommitdiff
path: root/Ports/libtheora/package.sh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-09-27 00:16:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-05 02:13:08 +0200
commitc07f91474de4088c4eccd45ccc6883a515439d69 (patch)
tree19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/libtheora/package.sh
parente507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff)
downloadserenity-c07f91474de4088c4eccd45ccc6883a515439d69.zip
Ports: Make array-like settings actual arrays
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.
Diffstat (limited to 'Ports/libtheora/package.sh')
-rwxr-xr-xPorts/libtheora/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/libtheora/package.sh b/Ports/libtheora/package.sh
index 85f704d917..cc5d0e203e 100755
--- a/Ports/libtheora/package.sh
+++ b/Ports/libtheora/package.sh
@@ -4,8 +4,8 @@ version=1.1.1
useconfigure=true
files="https://downloads.xiph.org/releases/theora/libtheora-${version}.tar.bz2 libtheora-${version}.tar.bz2 b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc"
auth_type="sha256"
-depends="libvorbis"
-configopts="--disable-examples"
+depends=("libvorbis")
+configopts=("--disable-examples")
build_shared() {
local name=$1
@@ -14,7 +14,7 @@ build_shared() {
}
install() {
- run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
+ run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
build_shared libtheora
build_shared libtheoradec
build_shared libtheoraenc