1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:47:45 +00:00

Ports: Clean up some package.sh scripts

- Remove superfluous function overrides and use makeopts instead
- Remove superfluous installopts
- Use run rather than cd'ing manually
- Ensure empty line between functions
This commit is contained in:
Linus Groh 2021-01-21 19:12:25 +01:00 committed by Andreas Kling
parent a4fbdb97c7
commit 7cc7f7ac54
5 changed files with 7 additions and 14 deletions

View file

@ -7,11 +7,11 @@ depends="zlib openssl"
useconfigure=true
usr_local=$SERENITY_ROOT/Build/Root/usr/local/
configopts="--prefix=/usr/local --disable-utmp --sysconfdir=/etc/ssh --with-ssl-dir=$usr_local/lib"
pre_configure() {
cd "${workdir}"
autoreconf
cd ..
run autoreconf
}
install() {
# Can't make keys outside of Serenity since ssh-keygen is built for Serenity.
run make DESTDIR="$SERENITY_ROOT"/Build/Root $installopts install-nokeys