Add recipe for Butterfly 1.6.2 image viewer

This commit is contained in:
Sergei Reznikov
2014-12-02 09:30:26 +03:00
parent d5950cebde
commit cf554d431b

View File

@@ -0,0 +1,45 @@
SUMMARY="A picture browser based on the translators"
DESCRIPTION="
Butterfly is a picture browser based on the translators for displaying
bitmap images. It was inspired by Sea, a DOS picture browser.
Its aim is to allow easy and fast browsing of an important number of pictures.
"
HOMEPAGE="http://oxben.free.fr/butterfly/Butterfly.html"
SRC_URI="git://github.com/HaikuArchives/Butterfly#bbd853ecae91e7c1fd3e5e4339f872cdf379b60e"
COPYRIGHT="2006 Thomas Thery"
LICENSE="MIT"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
butterfly$secondaryArchSuffix = $portVersion
app:Butterfly = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
BUILD()
{
cd source
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp source/objects/Butterfly $appsDir
addAppDeskbarSymlink $appsDir/Butterfly
}