From 620d394028d098f9b7f7bde04461b58a6d793d0b Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sun, 24 Nov 2013 21:45:36 +0000 Subject: [PATCH] Added resourcer, recipe from GCI2013 student tgkokk --- haiku-apps/resourcer/resourcer-1.0.recipe | 62 +++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 haiku-apps/resourcer/resourcer-1.0.recipe diff --git a/haiku-apps/resourcer/resourcer-1.0.recipe b/haiku-apps/resourcer/resourcer-1.0.recipe new file mode 100644 index 000000000..4df073f17 --- /dev/null +++ b/haiku-apps/resourcer/resourcer-1.0.recipe @@ -0,0 +1,62 @@ +DESCRIPTION="Resourcer is an all-purpose resource and attribute editor with a full-featured interface editor. It also contains plug-in editors for 31 other data types, including images, cursors, sounds, movies, text, and icons." +SUMMARY="Resourcer is an all-purpose resource and attribute editor with a full-featured interface editor." +HOMEPAGE="https://gitorious.org/desknotes/resourcer" +SRC_URI="git+https://git.gitorious.org/desknotes/resourcer.git" +REVISION="1" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + resourcer = $portVersion + app:resourcer = $portVersion" + +REQUIRES=" + haiku >= $haikuVersion" + +BUILD_PREREQUIRES=" + makefile_engine + cmd:make + cmd:gcc + cmd:mkdepend" + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion" + +COPYRIGHT=" + 2000 Nathan Whitehorn" + +LICENSE="BSD (3-clause)" + +BUILD() +{ + cd main + make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + + # The two next steps might not be required + # The first one probably isn't, because according to the description + # the editors are plug-ins + # but I'm not really sure about the second one + + cd ../editors + make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` + + cd ../reslib + make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` +} + +INSTALL() +{ + # Installing only the file in main, + # because I can't figure out how the files in the other directories + # should be installed + + cd main + + architecture=`echo $buildArchitecture | sed 's/_/-/g'` + + cd objects.$architecture-release + mkdir -p $appsDir + cp -a Resourcer $appsDir + + addAppDeskbarSymlink $appsDir/Resourcer +}