mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* 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
49 lines
1.0 KiB
Bash
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
|
|
}
|