mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
defendguin, fix reference to libSDL_*, rework make(install) (#3979)
This commit is contained in:
@@ -5,7 +5,7 @@ from being captured and mutated."
|
||||
HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
|
||||
COPYRIGHT="1999-2009 Bill Kendrick"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="ftp://ftp.tuxpaint.org/unix/x/defendguin/src/defendguin-0.0.12.tar.gz"
|
||||
CHECKSUM_SHA256="3c248bed480b291901b7509525dc952be6d28dfa47fd6f8e3fb9873f46017330"
|
||||
|
||||
@@ -17,33 +17,32 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libsdl
|
||||
lib:libsdl_mixer
|
||||
lib:libSDL_1.2
|
||||
lib:libSDL_mixer_1.2
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libsdl
|
||||
devel:libsdl_mixer
|
||||
devel:libSDL
|
||||
devel:libSDL_mixer
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i "s/-lm//g" Makefile
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs PREFIX=$appsDir/Defendguin
|
||||
make $jobArgs PREFIX=$prefix \
|
||||
DATA_PREFIX=$dataDir/defendguin/ \
|
||||
MAN_PREFIX=$documentationDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/Defendguin/bin
|
||||
make install PREFIX=$appsDir/Defendguin
|
||||
addAppDeskbarSymlink $appsDir/Defendguin/bin/defendguin defendguin
|
||||
mkdir -p $binDir
|
||||
make install PREFIX=$prefix \
|
||||
DATA_PREFIX=$dataDir/defendguin/ \
|
||||
MAN_PREFIX=$documentationDir
|
||||
addAppDeskbarSymlink $binDir/defendguin Defendguin
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user