mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
pachi, new recipe and patch file
This commit is contained in:
61
games-arcade/pachi/pachi-03_29_04.recipe
Normal file
61
games-arcade/pachi/pachi-03_29_04.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="Pachi el marciano is a cool 2D platforms game"
|
||||
DESCRIPTION="Pachi el marciano is a cool 2D platforms game inspired in games like\
|
||||
Manic Miner, Jet set Willy and more from the 80s."
|
||||
HOMEPAGE="http://dragontech.sourceforge.net/index.php?lang=en&main=about"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="Santiago Radeff, Nicolas Radeff, Peter Hajba"
|
||||
SRC_URI="http://prdownloads.sf.net/dragontech/pachi_source.tgz"
|
||||
CHECKSUM_SHA256="134a51773d5e441dc31aed4e57b3543afdefe2d8efedeaa05acb85cac0fa9c52"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86 ?x86_64"
|
||||
|
||||
PATCHES="pachi-$portVersion.patch"
|
||||
|
||||
SOURCE_DIR="Pachi"
|
||||
|
||||
PROVIDES="
|
||||
pachi = $portVersion
|
||||
app:pachi = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libsdl
|
||||
lib:libsdl_image
|
||||
lib:libsdl_mixer
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
devel:libsdl
|
||||
devel:libsdl_image
|
||||
devel:libsdl_mixer
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize -fci
|
||||
aclocal -I m4
|
||||
automake --add-missing --force-missing
|
||||
./configure --prefix=$appsDir/Pachi
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/Pachi
|
||||
make install
|
||||
ln -s $appsDir/Pachi/bin/pachi $appsDir/Pachi/Pachi
|
||||
addAppDeskbarSymlink $appsDir/Pachi/bin/pachi Pachi
|
||||
}
|
||||
43
games-arcade/pachi/patches/pachi-03_29_04.patch
Normal file
43
games-arcade/pachi/patches/pachi-03_29_04.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
--- Pachi/Makefile.am.org 2014-12-13 14:43:32.076021760 +0100
|
||||
+++ Pachi/Makefile.am 2014-12-13 14:41:07.499646464 +0100
|
||||
@@ -1 +1,2 @@
|
||||
SUBDIRS = src Tgfx data fonts music sounds docs
|
||||
+ACLOCAL_AMFLAGS = -I m4
|
||||
--- Pachi/data/Makefile.am.org 2002-12-08 14:30:17.000000000 +0100
|
||||
+++ Pachi/data/Makefile.am 2014-12-13 14:46:22.102236160 +0100
|
||||
@@ -14,9 +14,3 @@
|
||||
scores.dat
|
||||
|
||||
EXTRA_DIST = $(dat_DATA) $(score_DATA)
|
||||
-
|
||||
-install-data-local:
|
||||
- for file in $(score_DATA); do\
|
||||
- chgrp $(group) $(scoredir)/$$file; \
|
||||
- chmod $(perms) $(scoredir)/$$file; \
|
||||
- done
|
||||
--- Pachi/configure.in.org 2014-12-14 10:34:54.227278848 +0100
|
||||
+++ Pachi/configure.in 2014-12-14 10:31:37.060555264 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(src/faes.cpp, 0.1, T-1000@Bigfoot.com)
|
||||
AM_INIT_AUTOMAKE(pachi, 0.1)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
@@ -44,7 +44,7 @@
|
||||
SCOREDIR="."
|
||||
else
|
||||
DATADIR="$datadir/$PACKAGE"
|
||||
- SCOREDIR="/var/lib/games/$PACKAGE"
|
||||
+ SCOREDIR="$datadir /$PACKAGE"
|
||||
fi
|
||||
|
||||
eval DATAPATH=`eval echo "$DATADIR"`
|
||||
@@ -55,3 +55,5 @@
|
||||
AC_SUBST(SCOREPATH)
|
||||
|
||||
AC_OUTPUT(Makefile src/Makefile Tgfx/Makefile data/Makefile fonts/Makefile music/Makefile sounds/Makefile docs/Makefile)
|
||||
+
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
Reference in New Issue
Block a user