blob: 53f2742c65663351ef4748019c176995296320f6 (
plain)
1 # Description: make large letters out of ordinary text
2 # URL: http://www.figlet.org
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on:
5
6 name=figlet
7 version=2.2.5
8 release=2
9 source=(ftp://ftp.figlet.org/pub/figlet/program/unix/$name-$version.tar.gz)
10
11 build () {
12 cd $name-$version
13 sed -i -e 's|DEFAULTFONTDIR.*|DEFAULTFONTDIR = "/usr/share/figlet/"|' Makefile
14 echo '#include <stdlib.h>'
15 gcc -DDEFAULTFONTDIR=\"/usr/share/figlet\" \
16 -DDEFAULTFONTFILE=\"standard\" \
17 figlet.c zipio.c crc.c inflate.c -o figlet
18 gcc -o chkfont chkfont.c
19 install -D -m 755 figlet $PKG/usr/bin/figlet
20 install -D -m 755 chkfont $PKG/usr/bin/chkfont
21 install -D -m 755 figlet.6 $PKG/usr/man/man6/figlet.6
22 install -d -m 755 $PKG/usr/share/figlet
23 cp -a fonts/* $PKG/usr/share/figlet
24 }
|