Sanity: add recipe and patch for version 0.5a

This commit is contained in:
Sergei Reznikov
2015-11-14 01:50:59 +03:00
parent 70b2b37993
commit 11e24ba566
2 changed files with 1247 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,41 @@
SUMMARY="A GUI frontend for SANE"
DESCRIPTION="A graphical Haiku scanner application, using SANE."
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/phoudoin/sanity.git#82a4ba3"
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
"
PATCHES="sanity-0.5a.patchset"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -a objects/Sanity $appsDir
addAppDeskbarSymlink $appsDir/Sanity
}