mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
pipepanic: fix reference to libSDL (#4315)
This commit is contained in:
committed by
Jérôme Duval
parent
a18736dd1a
commit
5c9a6fe832
@@ -4,7 +4,7 @@ different shaped pipes together as possible within the time given."
|
||||
HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/"
|
||||
COPYRIGHT="2006 TheGreenKnight"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="6"
|
||||
REVISION="7"
|
||||
SOURCE_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/pipepanic-$portVersion-source.tar.gz"
|
||||
CHECKSUM_SHA256="4b02249c92228b03f4cc3c1d999cacf3fe52c16df53c6bf76fc6c1e2caa74318"
|
||||
SOURCE_DIR="pipepanic-$portVersion-source"
|
||||
@@ -23,7 +23,7 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libsdl
|
||||
lib:libSDL_1.2
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -31,28 +31,14 @@ BUILD_REQUIRES="
|
||||
devel:libsdl
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cut
|
||||
cmd:gcc
|
||||
cmd:install
|
||||
cmd:make
|
||||
cmd:sdl_config
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make
|
||||
|
||||
MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/pipepanic.rdef \
|
||||
> pipepanic.rdef
|
||||
|
||||
addResourcesToBinaries pipepanic.rdef pipepanic
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
@@ -67,5 +53,18 @@ INSTALL()
|
||||
install -m 444 -t $docDir README
|
||||
install -m 555 -T pipepanic $appsDir/Pipepanic/Pipepanic
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Pipepanic/Pipepanic
|
||||
MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/pipepanic.rdef \
|
||||
> pipepanic.rdef
|
||||
addResourcesToBinaries pipepanic.rdef $appsDir/Pipepanic/Pipepanic
|
||||
|
||||
# This isn't starting from Deskbar for some reason
|
||||
# Starts ok with Tracker and Terminal
|
||||
# addAppDeskbarSymlink $appsDir/Pipepanic/Pipepanic
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user