mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Merged in atalax/haikuports/binaryclock (pull request #390)
Update binaryclock recipe
This commit is contained in:
@@ -5,7 +5,7 @@ quite enjoyable to reprogram my brain to learn to read it at a glance. It just \
|
||||
takes a little getting used to.
|
||||
"
|
||||
HOMEPAGE="http://github.com/HaikuArchives/BinaryClock"
|
||||
SRC_URI="git://github.com/HaikuArchives/BinaryClock#5d04da1137"
|
||||
SRC_URI="git://github.com/HaikuArchives/BinaryClock#bfefbf7f93e7a07c841fdb1162e119b0364fee85"
|
||||
REVISION="2"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2000 David Enderson"
|
||||
@@ -13,7 +13,7 @@ COPYRIGHT="2000 David Enderson"
|
||||
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
|
||||
|
||||
PROVIDES="
|
||||
binary_clock = $portVersion
|
||||
binaryclock = $portVersion
|
||||
app:BinaryClock = $portVersion
|
||||
"
|
||||
|
||||
@@ -26,26 +26,32 @@ BUILD_REQUIRES="
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/BinaryClock_2.xx
|
||||
settings/BinaryClock
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd Application
|
||||
g++ -o BinaryClock *.cpp -lbe -ltranslation
|
||||
xres -o BinaryClock BinaryClock.rsrc
|
||||
mimeset -f BinaryClock
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
|
||||
cd ../Screensaver
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp Application/BinaryClock $appsDir
|
||||
mkdir -p $appsDir
|
||||
mkdir -p $addOnsDir/Screen\ Savers/
|
||||
|
||||
cp Application/objects/BinaryClock $appsDir
|
||||
addAppDeskbarSymlink $appsDir/BinaryClock "Binary Clock"
|
||||
|
||||
cp Screensaver/objects/BinaryClock $addOnsDir/Screen\ Savers
|
||||
}
|
||||
Reference in New Issue
Block a user