0
0
Fork 0
haikuports/dev-util/app2png/app2png-1.0.0.recipe

43 lines
946 B
Bash

SUMMARY="Turn legacy BeOS application icons into PNGs"
DESCRIPTION="\
With app2png, you can extract attribute-based bitmap icons from BeOS apps and \
save them into PNG files. These PNG icons can then be used to recreate the \
icon as a vector, or for use on a website."
HOMEPAGE="https://github.com/HaikuArchives/app2png"
COPYRIGHT="2015 Puck Meerburg"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/HaikuArchives/app2png/archive/17c36271a80a822ac0dfec66527e61f21230a412.tar.gz"
CHECKSUM_SHA256="5b95076384bf7d315749a12e26f064c341389afc5552825653ea4205c9bf9b59"
SOURCE_DIR="app2png-17c36271a80a822ac0dfec66527e61f21230a412"
ARCHITECTURES="all"
PROVIDES="
app2png = $portVersion
cmd:app2png = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $binDir
cp -a objects/app2png $binDir
}