mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:47:34 +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,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
PORT_DIR=figlet
|
||||
INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/"
|
||||
|
||||
fetch() {
|
||||
run_fetch_web "http://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz"
|
||||
|
||||
run_patch figlet-no-toilet-fonts.patch -p1
|
||||
}
|
||||
|
||||
configure() {
|
||||
echo "No configure script"
|
||||
}
|
||||
|
||||
build() {
|
||||
run_make CC=i686-pc-serenity-gcc LD=i686-pc-serenity-gcc
|
||||
}
|
||||
|
||||
install() {
|
||||
run_make_install
|
||||
}
|
||||
|
||||
. ../.port_include.sh
|
5
Ports/figlet/package.sh
Executable file
5
Ports/figlet/package.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash ../.port_include.sh
|
||||
port=figlet
|
||||
version=2.2.5
|
||||
files="http://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz figlet-2.2.5.tar.gz"
|
||||
makeopts="CC=i686-pc-serenity-gcc LD=i686-pc-serenity-gcc"
|
Loading…
Add table
Add a link
Reference in a new issue