toilet: new recipe (#1972)

This commit is contained in:
tts2k
2017-12-28 13:31:47 +07:00
committed by fbrosson
parent 06ca084e77
commit 8d44cdac21
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@@ -0,0 +1,47 @@
SUMMARY="Free replacement for the FIGlet utility"
DESCRIPTION="Free replacement for the FIGlet utility \
- a program for making large letters out of ordinary text."
HOMEPAGE="https://github.com/cacalabs/toilet"
COPYRIGHT="2004 Sam Hocevar"
LICENSE="WTFPL"
REVISION="1"
srcGitRev=3eb9d58037afb0a1baec6dca82caa045fb2217c0
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a16b3a6217852d4ec5e9fa94c5600b900710d652910ac041bf1c5c61524a03d4"
SOURCE_FILENAME="toilet-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="toilet-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
toilet = $portVersion
cmd:toilet = $portVersion
"
REQUIRES="
haiku
lib:libcaca
"
BUILD_REQUIRES="
haiku_devel
devel:libcaca
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:gcc
cmd:make
cmd:pkg_config
"
BUILD()
{
./bootstrap
runConfigure ./configure
make
}
INSTALL()
{
make DESTDIR=$installDestDir install
}