Merged in puckipedia/haikuports/app2png (pull request #413)

Add app2png recipe
This commit is contained in:
Scott McCreary
2015-01-03 18:46:36 -08:00

View File

@@ -0,0 +1,41 @@
SUMMARY="Turn legacy BeOS app icons into PNGs."
DESCRIPTION="\
With app2png, you can extract attribute-based 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 site."
HOMEPAGE="https://github.com/HaikuArchives/app2png"
SRC_URI="git+https://github.com/HaikuArchives/app2png#17c36271a80a822ac0dfec66527e61f21230a412"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2015 Puck Meerburg"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
app2png = $portVersion
app:app2png = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:mkdepend
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $binDir
cp -a objects/app2png $binDir
}