Files
haikuports/haiku-apps/sanity/sanity-0.6.recipe
Bob 8669e68a67 Modified recipe file for Sanity-0.6 (#615)
* Modified recipe file for Sanity-0.6

Sanity-0.6.patchset no longer required as changes have been made to master.
Added new checksum
Sanity is a legacy BeOS application which will only build on gcc2.

* Change srcGitRev hash
2016-06-11 20:09:40 +02:00

49 lines
1.0 KiB
Bash

SUMMARY="A GUI frontend for SANE"
DESCRIPTION="A graphical Haiku scanner application, using SANE.
SanityTranslator allows applications to use scanner devices through the \
translation kit."
HOMEPAGE="http://philippe.houdoin.free.fr/phil/beos/sanity/index-en.html"
COPYRIGHT="2001-2015 Philippe Houdoin"
LICENSE="MIT"
REVISION="3"
srcGitRev="e5cdc0623eaca2baabc12e2de2c9827302a60834"
SOURCE_URI="https://github.com/diversys/sanity/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="f731d8d5769d4b6f7e5138b6eb6515d624e5a41a9f3bf573bd8ce8c4959190be"
SOURCE_DIR="sanity-$srcGitRev"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
PROVIDES="
sanity = $portVersion
app:Sanity = $portVersion
"
REQUIRES="
haiku
lib:libsane
"
BUILD_REQUIRES="
haiku_devel
devel:libsane
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -a objects/Sanity $appsDir
addAppDeskbarSymlink $appsDir/Sanity
mkdir -p $addOnsDir/Translators
ln -s $appsDir/Sanity $addOnsDir/Translators/SanityTranslator
}