Files
haikuports/games-misc/nyancat/nyancat-1.5.2.recipe
2019-08-10 11:49:48 -04:00

51 lines
1.2 KiB
Bash

SUMMARY="Your own Nyancat in your terminal"
DESCRIPTION="Nyancat is a CLI application that displays a poptart cat \
in your terminal. You can simply run the binary standalone or use the \
telnet server version of the CLI by adding the \"-t\" option."
HOMEPAGE="https://nyancat.dakko.us/"
COPYRIGHT="2011-2018 Kevin Lange"
LICENSE="UIUC"
REVISION="1"
SOURCE_URI="https://github.com/klange/nyancat/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="88cdcaa9c7134503dd0364a97fa860da3381a09cb555c3aae9918360827c2032"
SOURCE_FILENAME="nyancat-$portVersion.tar.gz"
SOURCE_DIR="nyancat-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
nyancat$secondaryArchSuffix = $portVersion
cmd:nyancat$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:make
"
BUILD()
{
make
}
INSTALL()
{
install -m 755 -d "$commandBinDir" "$manDir"/man1
install -m 755 -t "$commandBinDir" src/nyancat
install -m 644 -t "$manDir"/man1 nyancat.1
}