wok annotate gphoto2/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 932cd974e081
children 6b33f9da53d4
rev   line source
jozee@3042 1 # SliTaz package receipt.
jozee@3042 2
jozee@3042 3 PACKAGE="gphoto2"
Hans-G?nter@24618 4 VERSION="2.5.28"
jozee@3042 5 CATEGORY="graphics"
Hans-G?nter@22875 6 TAGS="camera photo"
Hans-G?nter@22875 7 SHORT_DESC="Digital camera download and access program."
jozee@3042 8 MAINTAINER="jozee@slitaz.org"
pascal@15589 9 LICENSE="GPL2"
Hans-G?nter@22875 10 WEB_SITE="http://www.gphoto.org"
Hans-G?nter@22875 11
Hans-G?nter@24618 12 SUGGESTED="gphoto2-lang"
slaxemulator@7284 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@3042 14 WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
jozee@3042 15
Hans-G?nter@22875 16 DEPENDS="jpeg libexif libgphoto2 libltdl ncurses popt readline"
Hans-G?nter@22875 17 BUILD_DEPENDS="jpeg-dev libgphoto2-dev libtool popt-dev readline-dev"
erjo@10678 18
pascal@24403 19 # What is the latest version available today?
pascal@24403 20 current_version()
pascal@24403 21 {
pascal@24403 22 wget -O - https://sourceforge.net/projects/gphoto/files/gphoto/ 2>/dev/null | \
pascal@24403 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 24 sed '/scope="row/!d;s|.*/gphoto/||;s|/.*||;q'
pascal@24403 25 }
pascal@24403 26
jozee@3042 27 # Rules to configure and make the package.
jozee@3042 28 compile_rules()
jozee@3042 29 {
Hans-G?nter@22875 30 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22875 31 make &&
Hans-G?nter@22875 32 make install
jozee@3042 33 }
jozee@3042 34
jozee@3042 35 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3042 36 genpkg_rules()
jozee@3042 37 {
Hans-G?nter@24618 38 cook_copy_folders bin
jozee@3042 39 }