From a0170ecd37cc3cdb21cd51a76fba5dae4ada53ac Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 29 Apr 2015 22:36:06 +0200 Subject: [PATCH] Add recipe for GrafX2. --- media-gfx/grafx2/grafx2-2.5.recipe | 61 ++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 media-gfx/grafx2/grafx2-2.5.recipe diff --git a/media-gfx/grafx2/grafx2-2.5.recipe b/media-gfx/grafx2/grafx2-2.5.recipe new file mode 100644 index 000000000..cc2fe1244 --- /dev/null +++ b/media-gfx/grafx2/grafx2-2.5.recipe @@ -0,0 +1,61 @@ +SUMMARY="The ultimate 256-color painting program" +DESCRIPTION="GrafX2 is a bitmap paint program inspired by the Amiga programs \ +Deluxe Paint and Brilliance. Specialized in 256-color drawing, it includes a \ +very large number of tools and effects that make it particularly suitable for \ +pixel art, game graphics, and generally any detailed graphics painted with a \ +mouse." +ARCHITECTURES="x86_gcc2" +HOMEPAGE="http://pulkomandy.tk/projects/GrafX2" +REVISION="1" +COPYRIGHT="1995-1999 Sunset Design +2008-2015 GrafX2 project team" +LICENSE="GNU GPL v2" + +SRC_URI="svn://pulkomandy.tk/GrafX2/trunk#2119" + +PROVIDES=" + grafx2 + cmd:grafx2 +" + +REQUIRES=" + haiku + lib:libsdl + lib:libsdl_image + lib:libsdl_ttf + lib:liblua + lib:libpng + lib:libjpeg + lib:libz + lib:libfreetype +" + +BUILD_REQUIRES=" + haiku_devel + devel:libsdl + devel:libsdl_image + devel:libsdl_ttf + devel:liblua + devel:libpng + devel:libjpeg + devel:libz + devel:libfreetype +" + +BUILD_PREREQUIRES=" + cmd:gcc + cmd:make + cmd:svnversion +" + +BUILD() +{ + cd src + make $jobArgs +} + +INSTALL() +{ + cd src + make install DESTDIR=$prefix prefix=/ datarootdir=/$relativeDataRootDir +}