diff options
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/figlet/figlet-no-toilet-fonts.patch | 11 | ||||
-rwxr-xr-x | Ports/figlet/figlet.sh | 23 |
2 files changed, 34 insertions, 0 deletions
diff --git a/Ports/figlet/figlet-no-toilet-fonts.patch b/Ports/figlet/figlet-no-toilet-fonts.patch new file mode 100644 index 0000000000..44cad8fc8e --- /dev/null +++ b/Ports/figlet/figlet-no-toilet-fonts.patch @@ -0,0 +1,11 @@ +--- figlet-2.2.5/Makefile 2012-06-01 14:51:09.000000000 +0200 ++++ figlet-2.2.5-patched/Makefile 2019-06-09 12:15:01.817177188 +0200 +@@ -26,7 +26,7 @@ + + # Feature flags: + # define TLF_FONTS to use TOIlet TLF fonts +-XCFLAGS = -DTLF_FONTS ++#XCFLAGS = -DTLF_FONTS + + # Where to install files + prefix = /usr/local diff --git a/Ports/figlet/figlet.sh b/Ports/figlet/figlet.sh new file mode 100755 index 0000000000..f38af411ed --- /dev/null +++ b/Ports/figlet/figlet.sh @@ -0,0 +1,23 @@ +#!/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 |