diff --git a/media-gfx/gphoto2/gphoto2-2.5.8.recipe b/media-gfx/gphoto2/gphoto2-2.5.8.recipe new file mode 100644 index 000000000..1b7010605 --- /dev/null +++ b/media-gfx/gphoto2/gphoto2-2.5.8.recipe @@ -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 +}