Files
haikuports/haiku-apps/resourcer/resourcer-1.0.recipe
Augustin Cavalier 06349a386b resourcer: point to HaikuArchives.
Fixes #203.
2015-06-30 10:52:09 -04:00

67 lines
1.6 KiB
Plaintext

SUMMARY="A resource and attribute editor with an interface editor"
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.
"
COPYRIGHT="2000 Nathan Whitehorn"
LICENSE="BSD (3-clause)"
HOMEPAGE="https://github.com/HaikuArchives/Resourcer"
SRC_URI="https://github.com/HaikuArchives/Resourcer/archive/bd16d3419d18d881c2a906eecbc28705100b808e.tar.gz"
CHECKSUM_SHA256="4482d87f707c8499e61b23c88bab1d98c76cf56de9084fe55f1187fd0eb6d96f"
SOURCE_DIR="Resourcer-bd16d3419d18d881c2a906eecbc28705100b808e"
REVISION="3"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PROVIDES="
resourcer = $portVersion
app:Resourcer = $portVersion
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:mkdepend"
BUILD_REQUIRES="
haiku_devel
"
BUILD()
{
cd main
make OBJ_DIR=objects \
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 OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
cd ../reslib
make OBJ_DIR=objects \
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
mkdir -p $appsDir
cp -a main/objects/Resourcer $appsDir
addAppDeskbarSymlink $appsDir/Resourcer
}