mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +02:00
penguin_command, fix references to libSDL*, enable x86_64 (#4053)
This commit is contained in:
@@ -4,13 +4,13 @@ but has better graphics and sound. The gameplay has been slightly modified."
|
|||||||
HOMEPAGE="http://www.linux-games.com/penguin-command/"
|
HOMEPAGE="http://www.linux-games.com/penguin-command/"
|
||||||
COPYRIGHT="2007 Karl Bartel, Skaven"
|
COPYRIGHT="2007 Karl Bartel, Skaven"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://downloads.sf.net/penguin-command/penguin-command-$portVersion.tar.gz"
|
SOURCE_URI="https://downloads.sf.net/penguin-command/penguin-command-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="659c7b5f3f968f386e820cf7387d88c0a61c17dfbdb005bd85f8e93c537e89d6"
|
CHECKSUM_SHA256="659c7b5f3f968f386e820cf7387d88c0a61c17dfbdb005bd85f8e93c537e89d6"
|
||||||
SOURCE_DIR="penguin-command-$portVersion"
|
SOURCE_DIR="penguin-command-$portVersion"
|
||||||
PATCHES="penguin-command-$portVersion.patch"
|
PATCHES="penguin-command-$portVersion.patch"
|
||||||
|
|
||||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
penguin_command = $portVersion
|
penguin_command = $portVersion
|
||||||
@@ -18,37 +18,38 @@ PROVIDES="
|
|||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku
|
haiku
|
||||||
lib:libsdl
|
lib:libSDL_1.2
|
||||||
lib:libsdl_image
|
lib:libSDL_image_1.2
|
||||||
lib:libsdl_mixer
|
lib:libSDL_mixer_1.2
|
||||||
lib:libz
|
lib:libz
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku_devel
|
haiku_devel
|
||||||
devel:libsdl
|
devel:libSDL
|
||||||
devel:libsdl_image
|
devel:libSDL_image
|
||||||
devel:libsdl_mixer
|
devel:libSDL_mixer
|
||||||
devel:libz
|
devel:libz
|
||||||
"
|
"
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:aclocal
|
||||||
|
cmd:autoreconf
|
||||||
|
cmd:awk
|
||||||
cmd:gcc
|
cmd:gcc
|
||||||
cmd:libtoolize
|
|
||||||
cmd:make
|
cmd:make
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
libtoolize -fci
|
autoreconf -vfi
|
||||||
sed -i 's/-lm//g' configure
|
runConfigure --omit-dirs binDir ./configure \
|
||||||
./configure --prefix=$appsDir/PenguinCommand
|
--bindir=$appsDir
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
mv $appsDir/PenguinCommand/bin/penguin-command $appsDir/PenguinCommand/PenguinCommand
|
mv $appsDir/penguin-command $appsDir/PenguinCommand
|
||||||
rm -r $appsDir/PenguinCommand/bin
|
addAppDeskbarSymlink $appsDir/PenguinCommand
|
||||||
addAppDeskbarSymlink $appsDir/PenguinCommand/PenguinCommand PenguinCommand
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user