Files
haikuports/media-gfx/gphoto2/gphoto2-2.5.11.recipe
Jerome Duval f6f2560cfd gphoto2: bump version.
* enable x86_64.
2017-05-11 22:40:55 +02:00

55 lines
1.4 KiB
Bash

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"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/gphoto/files/gphoto/$portVersion/gphoto2-$portVersion.tar.gz"
CHECKSUM_SHA256="c2b85221a1d90a416b309283695ebaecaf5de2276371fc2292d655b745ccf6db"
ARCHITECTURES="?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gphoto2$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
}