gphoto2: add recipe for version 2.5.8

This commit is contained in:
Sergei Reznikov
2015-11-14 12:16:32 +03:00
parent daa2f9a1ee
commit cceb272bd3

View File

@@ -0,0 +1,54 @@
SUMMARY="A command-line frontend to libgphoto2"
DESCRIPTION="gphoto2 is a command line client to for the libgphoto2. It allows \
to use gPhoto software from a terminal or from a script shell to perform any \
camera operation that can be done. This is the main user interface.
gphoto2 also provide convenient debugging features for camera driver \
developers."
HOMEPAGE="http://www.gphoto.org/"
COPYRIGHT="The gphoto2 team"
LICENSE="GNU GPL v2"
SOURCE_URI="http://sourceforge.net/projects/gphoto/files/gphoto/$portVersion/gphoto2-$portVersion.tar.gz"
CHECKSUM_SHA256="1950542253d42fa9898028879b04fdbf09393c095f2c0273b062e897d10790ad"
REVISION="1"
ARCHITECTURES="?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gphoto$secondaryArchSuffix = $portVersion
cmd:gphoto2$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgphoto2$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpopt$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
# devel:libexif$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libgphoto2$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpopt$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:libtoolize
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}