Skip to content

Commit

Permalink
Ports: Remove redundant 'workdir' entries
Browse files Browse the repository at this point in the history
  • Loading branch information
linusg authored and awesomekling committed Mar 13, 2021
1 parent 37f837b commit f9cf6bf
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion Ports/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ script simply defines some well-known variables and looks like this:

port="foo"
version="1.2.3"
workdir="foo-${version}"
useconfigure="true"
files="https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz"
depends="bar baz"
Expand Down
1 change: 0 additions & 1 deletion Ports/SDL2_mixer/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ port=SDL2_mixer
version=2.0.4
useconfigure=true
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz"
workdir="SDL2_mixer-$version"
depends="SDL2"

configure() {
Expand Down
1 change: 0 additions & 1 deletion Ports/SDL2_ttf/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ port=SDL2_ttf
version=2.0.15
useconfigure=true
files="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz"
workdir="SDL2_ttf-$version"
depends="SDL2 freetype"

configure() {
Expand Down
1 change: 0 additions & 1 deletion Ports/bzip2/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
port=bzip2
version=1.0.8
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz"
workdir="bzip2-$version"
makeopts="bzip2 CC=${CC}"
installopts="PREFIX=${SERENITY_BUILD_DIR}/Root/usr/local"
1 change: 0 additions & 1 deletion Ports/freetype/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ port=freetype
version=2.10.4
useconfigure=true
files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz"
workdir="freetype-$version"
configopts="--with-brotli=no --with-bzip2=no --with-zlib=no --with-harfbuzz=no --with-png=no"
2 changes: 1 addition & 1 deletion Ports/genemu/package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh

port="genemu"
version="${port}-git"
version=git
workdir="${port}-master"
useconfigure=true
files="https://github.com/rasky/genemu/archive/master.tar.gz ${version}.tar.gz"
Expand Down
1 change: 0 additions & 1 deletion Ports/libogg/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ 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"
workdir="libogg-${version}"
1 change: 0 additions & 1 deletion Ports/libpng/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ port=libpng
version=1.6.37
useconfigure=true
files="https://download.sourceforge.net/libpng/libpng-${version}.tar.gz libpng-${version}.tar.gz"
workdir="libpng-$version"
depends="zlib"
1 change: 0 additions & 1 deletion Ports/ninja/package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ninja
version=1.8.2
workdir="ninja-${version}"
files="https://github.com/ninja-build/ninja/archive/v${version}.tar.gz ninja-v${version}.tar.gz"

build() {
Expand Down
1 change: 0 additions & 1 deletion Ports/pt2-clone/package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash ../.port_include.sh
port=pt2-clone
version=1.28
workdir=pt2-clone-$version
useconfigure=true
files="https://github.com/8bitbubsy/pt2-clone/archive/v${version}.tar.gz v${version}.tar.gz"
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt"
Expand Down
1 change: 0 additions & 1 deletion Ports/stress-ng/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=stress-ng
version=0.11.23
workdir=stress-ng-${version}
files="https://github.com/ColinIanKing/stress-ng/archive/V${version}.tar.gz stress-ng-${version}.tar.gz"
makeopts="STATIC=1 LDFLAGS=-L${SERENITY_BUILD_DIR}/Root/usr/local/lib"
1 change: 0 additions & 1 deletion Ports/tinycc/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=tinycc
workdir=tinycc-dev
version=dev
files="https://github.com/TinyCC/tinycc/archive/dev.tar.gz tinycc-dev.tar.gz"
useconfigure=true
Expand Down

0 comments on commit f9cf6bf

Please sign in to comment.