Files
haikuports/media-gfx/grafx2/grafx2-2.5.recipe

62 lines
1.1 KiB
Bash

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."
HOMEPAGE="http://pulkomandy.tk/projects/GrafX2"
COPYRIGHT="1995-1999 Sunset Design
2008-2015 GrafX2 project team"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="svn://pulkomandy.tk/GrafX2/trunk#2127"
ARCHITECTURES="x86_gcc2"
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
addAppDeskbarSymlink $binDir/grafx2 GrafX2
}