mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +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,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PORT_DIR=mbedtls
|
||||
|
||||
fetch() {
|
||||
run_fetch_web "https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz"
|
||||
run_patch remove-net-from-config.patch -p1
|
||||
run_patch add-missing-includes.patch -p1
|
||||
}
|
||||
|
||||
configure() {
|
||||
echo "move along, nothing to see here"
|
||||
}
|
||||
|
||||
build() {
|
||||
run_export_env CC i686-pc-serenity-gcc
|
||||
run_make clean
|
||||
run_make CFLAGS=-DPLATFORM_UTIL_USE_GMTIME
|
||||
}
|
||||
|
||||
install() {
|
||||
run_make_install DESTDIR="$SERENITY_ROOT"/Root
|
||||
}
|
||||
|
||||
. ../.port_include.sh
|
5
Ports/mbedtls/package.sh
Executable file
5
Ports/mbedtls/package.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash ../.port_include.sh
|
||||
port=mbedtls
|
||||
version=2.16.2
|
||||
files="https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz mbedtls-2.16.2-apache.tgz"
|
||||
makeopts="CFLAGS=-DPLATFORM_UTIL_USE_GMTIME"
|
Loading…
Add table
Add a link
Reference in a new issue