mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
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 :^)
This commit is contained in:
parent
9da62f52a1
commit
3bc699a336
Notes:
sideshowbarker
2024-07-19 13:40:05 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3bc699a3361
2 changed files with 34 additions and 0 deletions
11
Ports/figlet/figlet-no-toilet-fonts.patch
Normal file
11
Ports/figlet/figlet-no-toilet-fonts.patch
Normal file
|
@ -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
|
23
Ports/figlet/figlet.sh
Executable file
23
Ports/figlet/figlet.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue