mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
initial version of my first port
This commit is contained in:
19
dev-games/flatzebra/flatzebra-0.1.3.bep
Normal file
19
dev-games/flatzebra/flatzebra-0.1.3.bep
Normal file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION="A generic game engine for 2D double-buffering animation"
|
||||
HOMEPAGE="http://sarrazip.com/dev/burgerspace.html"
|
||||
SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/flatzebra-0.1.3.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/libsdl >= 1.2.4, media-libs/libsdl_image >= 1.2.2, media-libs/libsdl_mixer >= 1.2.4"
|
||||
BUILD {
|
||||
setgcc gcc4
|
||||
cd flatzebra-0.1.3
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd flatzebra-0.1.3
|
||||
make install
|
||||
}
|
||||
86
dev-games/flatzebra/flatzebra-0.1.3.patch
Normal file
86
dev-games/flatzebra/flatzebra-0.1.3.patch
Normal file
@@ -0,0 +1,86 @@
|
||||
diff -Naur flatzebra-0.1.3/flatzebra-0.1.spec flatzebra-0.1.3-haiku/flatzebra-0.1.spec
|
||||
--- flatzebra-0.1.3/flatzebra-0.1.spec 2009-06-22 01:14:32.000000000 +0000
|
||||
+++ flatzebra-0.1.3-haiku/flatzebra-0.1.spec 1970-01-01 00:00:00.000000000 +0000
|
||||
@@ -1,82 +0,0 @@
|
||||
-# $Id: flatzebra-0.1.spec.in,v 1.3 2009/02/27 02:17:20 sarrazip Exp $
|
||||
-# RPM specification file.
|
||||
-
|
||||
-# Release number can be specified with rpm --define 'rel SOMETHING' ...
|
||||
-# If no such --define is used, the release number is 1.
|
||||
-#
|
||||
-# Source archive's extension can be specified with rpm --define 'srcext .foo'
|
||||
-# where .foo is the source archive's actual extension.
|
||||
-# To compile an RPM from a .bz2 source archive, give the command
|
||||
-# rpmbuild -ta --define 'srcext .bz2' flatzebra-0.1.3.tar.bz2
|
||||
-#
|
||||
-%if %{?rel:0}%{!?rel:1}
|
||||
-%define rel 1
|
||||
-%endif
|
||||
-%if %{?srcext:0}%{!?srcext:1}
|
||||
-%define srcext .gz
|
||||
-%endif
|
||||
-
|
||||
-Summary: A generic game engine for 2D double-buffering animation
|
||||
-Name: flatzebra
|
||||
-Version: 0.1.3
|
||||
-Release: %{rel}
|
||||
-License: GPL
|
||||
-Group: Amusements/Games
|
||||
-Source: %{name}-%{version}.tar%{srcext}
|
||||
-URL: http://sarrazip.com/dev/burgerspace.html
|
||||
-Prefix: /usr
|
||||
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
-BuildRequires: SDL-devel >= 1.2.4
|
||||
-BuildRequires: SDL_image-devel >= 1.2.2
|
||||
-BuildRequires: SDL_mixer-devel >= 1.2.4
|
||||
-Requires: SDL >= 1.2.4
|
||||
-Requires: SDL_image >= 1.2.2
|
||||
-Requires: SDL_mixer >= 1.2.4
|
||||
-
|
||||
-%description
|
||||
-Generic Game Engine library used by BurgerSpace et al.
|
||||
-
|
||||
-%description -l fr
|
||||
-Moteur de jeu générique utilisé par BurgerSpace et al.
|
||||
-
|
||||
-%package devel
|
||||
-Summary: C++ header files for the flatzebra library
|
||||
-Group: Development/Libraries
|
||||
-Requires: flatzebra = 0.1.3
|
||||
-
|
||||
-%description devel
|
||||
-C++ header files for the flatzebra library.
|
||||
-
|
||||
-%description -l fr devel
|
||||
-En-têtes C++ pour la librairie flatzebra.
|
||||
-
|
||||
-
|
||||
-%prep
|
||||
-%setup -q
|
||||
-
|
||||
-%build
|
||||
-%configure
|
||||
-make %{?_smp_mflags}
|
||||
-
|
||||
-%install
|
||||
-rm -fR "$RPM_BUILD_ROOT"
|
||||
-make install DESTDIR="$RPM_BUILD_ROOT" INSTALL="%{__install} -p"
|
||||
-
|
||||
-%clean
|
||||
-rm -fR $RPM_BUILD_ROOT
|
||||
-
|
||||
-%post -p /sbin/ldconfig
|
||||
-
|
||||
-%postun -p /sbin/ldconfig
|
||||
-
|
||||
-%files
|
||||
-%defattr(-, root, root)
|
||||
-%{_libdir}/lib*.so.*
|
||||
-%doc %{_defaultdocdir}/*
|
||||
-
|
||||
-%files devel
|
||||
-%defattr(-, root, root)
|
||||
-%{_includedir}/*
|
||||
-%{_libdir}/lib*.so
|
||||
-%{_prefix}/lib/lib*.la
|
||||
-%{_libdir}/pkgconfig/*
|
||||
5
dev-games/flatzebra/flatzebra.OptionalPackageDescription
Normal file
5
dev-games/flatzebra/flatzebra.OptionalPackageDescription
Normal file
@@ -0,0 +1,5 @@
|
||||
Package: flatzebra
|
||||
Version: 0.1.3
|
||||
Copyright: 2009 Pierre Sarrazin.
|
||||
License: GPL v2.0
|
||||
URL: http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html
|
||||
Reference in New Issue
Block a user