serenity/Ports/figlet/figlet.sh
Andreas Kling 3bc699a336 Ports: Add 'figlet' port.
This was the first piece of 3rd party software I got running on Serenity,
so having it as a port feels like some kind of milestone. I think :^)
2019-06-09 12:20:43 +02:00

23 lines
397 B
Bash
Executable file

#!/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