mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
46 lines
885 B
Bash
46 lines
885 B
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-2004, Philippe Houdoin"
|
|
LICENSE="MIT"
|
|
SOURCE_URI="git+https://github.com/diversys/sanity.git#f40f575"
|
|
REVISION="1"
|
|
|
|
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
|
|
}
|