wok view gphoto2/receipt @ rev 24825

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