mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
54321: fine tunning. (#8649)
- Fix black-screen when starting up from Deskbar link. - Simplified directory structure a bit. - Enable build on 64 bits.
This commit is contained in:
@@ -5,20 +5,20 @@ extends them into three and four dimensions."
|
||||
HOMEPAGE="https://old.nklein.com/products/54321/"
|
||||
COPYRIGHT="2001 Patrick Stein"
|
||||
LICENSE="nklein"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="$HOMEPAGE/1.0.2001.11.16/54321.tgz"
|
||||
CHECKSUM_SHA256="ff2bd7afec6d85d29fcf235875285520a4aa5b009c6a0dd7a56619821d79fddb"
|
||||
SOURCE_DIR="54321"
|
||||
PATCHES="54321-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?all x86_gcc2"
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
54321 = $portVersion
|
||||
app:54321 = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
haiku
|
||||
lib:libpng16
|
||||
lib:libSDL_1.2
|
||||
lib:libSDL_image_1.2
|
||||
@@ -26,7 +26,7 @@ REQUIRES="
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
haiku_devel
|
||||
devel:libpng16
|
||||
devel:libSDL_1.2
|
||||
devel:libSDL_image_1.2
|
||||
@@ -37,6 +37,12 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# Patch "data" dir location.
|
||||
sed -i 's|../../data|./data|g' code/*
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make -f GNUmakefile ARCH=BeOS
|
||||
@@ -45,7 +51,9 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/54321
|
||||
cp -R Release/* $appsDir/54321
|
||||
cp -R Release/data $appsDir/54321
|
||||
cp Release/bin/BeOS/54321 $appsDir/54321
|
||||
cp Release/README $appsDir/54321
|
||||
|
||||
addAppDeskbarSymlink $appsDir/54321/bin/BeOS/54321
|
||||
addAppDeskbarSymlink $appsDir/54321/54321
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user