mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 00:07:35 +00:00
Ports: Switch to new ports system (#594)
Much redundancy is removed from package scripts with this system. It also supports simple dependency management, uninstalling (through BSD ports style plist files), cleaning up after itself (with clean, clean_dist, clean_all commands), etc.
This commit is contained in:
parent
d5f1c57fe2
commit
18249b5996
47 changed files with 6563 additions and 428 deletions
|
@ -1,20 +0,0 @@
|
|||
#!/bin/sh
|
||||
PORT_DIR=make
|
||||
fetch() {
|
||||
run_fetch_web "https://ftp.gnu.org/gnu/make/make-4.2.tar.bz2"
|
||||
|
||||
run_patch make-4.2-serenity.patch -p1
|
||||
}
|
||||
|
||||
configure() {
|
||||
run_configure_autotools \
|
||||
--target=i686-pc-serenity \
|
||||
--with-sysroot=/
|
||||
}
|
||||
build() {
|
||||
run_make
|
||||
}
|
||||
install() {
|
||||
run_make_install DESTDIR="$SERENITY_ROOT"/Root
|
||||
}
|
||||
. ../.port_include.sh
|
6
Ports/make/package.sh
Executable file
6
Ports/make/package.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash ../.port_include.sh
|
||||
port=make
|
||||
version=4.2
|
||||
useconfigure=true
|
||||
files="https://ftp.gnu.org/gnu/make/make-4.2.tar.bz2 make-4.2.tar.bz2"
|
||||
configopts="--target=i686-pc-serenity --with-sysroot=/"
|
Loading…
Add table
Add a link
Reference in a new issue