0
0
Fork 0
haikuports/media-gfx/gphoto2/gphoto2-2.5.27.recipe

59 lines
1.5 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="https://downloads.sourceforge.net/gphoto/gphoto2-$portVersion.tar.bz2"
CHECKSUM_SHA256="30054e93a1bb59f501aabd5018713177ea04ce0cb28935319bd6ca80061e8d38"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gphoto2$secondaryArchSuffix = $portVersion
cmd:gphoto2$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libexif$secondaryArchSuffix
lib:libgphoto2$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpopt$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libexif$secondaryArchSuffix
devel:libgphoto2$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpopt$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage gphoto2$secondaryArchSuffix \
"$binDir"/gphoto2
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}