From 3f734ffe5b2ca44c3962e55f6de92426e9279e40 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Sat, 3 Jan 2015 23:07:53 +0100 Subject: [PATCH] Add app2png recipe --- dev-util/app2png/app2png-1.0.0.recipe | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-util/app2png/app2png-1.0.0.recipe diff --git a/dev-util/app2png/app2png-1.0.0.recipe b/dev-util/app2png/app2png-1.0.0.recipe new file mode 100644 index 000000000..0000fc138 --- /dev/null +++ b/dev-util/app2png/app2png-1.0.0.recipe @@ -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 +}