wok annotate gphoto2/receipt @ rev 24534

updated faac and faac-dev (1.29.9.2 -> 1.30)
author Hans-G?nter Theisgen
date Wed Feb 23 11:28:45 2022 +0100 (2022-02-23)
parents c5db347bc553
children cdbf817b8967
rev   line source
jozee@3042 1 # SliTaz package receipt.
jozee@3042 2
jozee@3042 3 PACKAGE="gphoto2"
Hans-G?nter@22875 4 VERSION="2.5.23"
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
slaxemulator@7284 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@3042 13 WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
jozee@3042 14
Hans-G?nter@22875 15 DEPENDS="jpeg libexif libgphoto2 libltdl ncurses popt readline"
Hans-G?nter@22875 16 BUILD_DEPENDS="jpeg-dev libgphoto2-dev libtool popt-dev readline-dev"
erjo@10678 17
pascal@24403 18 # What is the latest version available today?
pascal@24403 19 current_version()
pascal@24403 20 {
pascal@24403 21 wget -O - https://sourceforge.net/projects/gphoto/files/gphoto/ 2>/dev/null | \
pascal@24403 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 23 sed '/scope="row/!d;s|.*/gphoto/||;s|/.*||;q'
pascal@24403 24 }
pascal@24403 25
jozee@3042 26 # Rules to configure and make the package.
jozee@3042 27 compile_rules()
jozee@3042 28 {
Hans-G?nter@22875 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22875 30 make &&
Hans-G?nter@22875 31 make install
jozee@3042 32 }
jozee@3042 33
jozee@3042 34 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3042 35 genpkg_rules()
jozee@3042 36 {
slaxemulator@7284 37 mkdir -p $fs/usr/share
Hans-G?nter@22875 38 cp -a $install/usr/bin $fs/usr
jozee@3042 39 }