mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:27:44 +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,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
PORT_DIR=ncurses
|
||||
INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/"
|
||||
|
||||
fetch() {
|
||||
run_fetch_git "https://github.com/mirror/ncurses.git"
|
||||
run_patch allow-serenity-os-ncurses.patch -p1
|
||||
}
|
||||
configure() {
|
||||
run_configure_autotools
|
||||
}
|
||||
build() {
|
||||
run_make
|
||||
}
|
||||
install() {
|
||||
run_make_install
|
||||
}
|
||||
. ../.port_include.sh
|
7
Ports/ncurses/package.sh
Executable file
7
Ports/ncurses/package.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash ../.port_include.sh
|
||||
port=ncurses
|
||||
version=git
|
||||
workdir=ncurses-master
|
||||
useconfigure=true
|
||||
curlopts="-L"
|
||||
files="https://github.com/mirror/ncurses/archive/master.tar.gz ncurses-git.tar.gz"
|
Loading…
Add table
Add a link
Reference in a new issue