mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add recipe for gfx2crtc
Moved out of cpctools.
This commit is contained in:
46
media-gfx/gfx2crtc/gfx2crtc-0.3.1.recipe
Normal file
46
media-gfx/gfx2crtc/gfx2crtc-0.3.1.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
SUMMARY="Convert PNG or raw files to Amstrad CPC screen format"
|
||||
DESCRIPTION="convert gfx (linear raw 8bits per pixel or PNG 1,2 or 4 bits) in a
|
||||
compatible format for Amstrad CPC and Plus. Various CRTC registers can be
|
||||
adjusted for exact control of the results."
|
||||
HOMEPAGE="https://github.com/cpcsdk/gfx2crtc"
|
||||
COPYRIGHT="2008-2017 Quentin Carlier, Adrien Destugues"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/cpcsdk/gfx2crtc/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5c0a5a385b61ccfeabcb5e29f5297c8916469f25a0bd49d3f090e738e58a11bc"
|
||||
SOURCE_DIR="gfx2crtc-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
gfx2crtc = $portVersion
|
||||
cmd:png2crtc = $portVersion
|
||||
cmd:raw2crtc = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libpng16
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libpng16
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp -a raw2crtc png2crtc $binDir
|
||||
}
|
||||
Reference in New Issue
Block a user