Files
haikuports/haiku-apps/digiclock/digiclock-1.0.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

50 lines
1.0 KiB
Plaintext

SUMMARY="DigiClock Screensaver"
DESCRIPTION="Based on BinaryClock by David Enderson. DigiClock uses filled rectangles and\
random colors."
HOMEPAGE="http://www.fatelk.com"
SRC_URI="https://github.com/bbjimmy/DigiClock/archive/1.0.tar.gz"
CHECKSUM_SHA512="24ab1ed06a4b13d63fbca87708a9e98b53b5737d12fee22663549132e6434b61e789326231e0168447f46f609eb4a296497f98418db41874cc712756f118daa8"
SOURCE_DIR="DigiClock-1.0"
LICENSE="GNU GPL v2"
COPYRIGHT="2012 Jim Saxton, Fat Elk Software"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
digiclock = $portVersion
app:digiclock = $portVersion
"
REQUIRES="
haiku"
BUILD_REQUIRES="
haiku_devel"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
makefile_engine
"
BUILD()
{
cd source
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
mkdir -p $addOnsDir/Screen\ Savers
cd source/objects*
cp DigiClock $addOnsDir/Screen\ Savers/DigiClock
mkdir -p $dataDir/FatElk
cd ..
unzip -o fatelk
cp "FAT ELK" $dataDir/FatElk/
cp "Fat Elk" $dataDir/FatElk/
}