mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07: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:
parent
a4fbdb97c7
commit
7cc7f7ac54
5 changed files with 7 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue