1
0
forked from ports/contrib

figlet: fix standard font, closes FS#950

This commit is contained in:
Thomas Penteker 2013-09-04 21:03:46 +02:00
parent 9e130d5634
commit 05b570356e

View File

@ -5,7 +5,7 @@
name=figlet
version=2.2.5
release=1
release=2
source=(ftp://ftp.figlet.org/pub/figlet/program/unix/$name-$version.tar.gz)
build () {
@ -13,7 +13,7 @@ build () {
sed -i -e 's|DEFAULTFONTDIR.*|DEFAULTFONTDIR = "/usr/share/figlet/"|' Makefile
echo '#include <stdlib.h>'
gcc -DDEFAULTFONTDIR=\"/usr/share/figlet\" \
-DDEFAULTFONTFILE=\"standard.flf\" \
-DDEFAULTFONTFILE=\"standard\" \
figlet.c zipio.c crc.c inflate.c -o figlet
gcc -o chkfont chkfont.c
install -D -m 755 figlet $PKG/usr/bin/figlet