wok-current view gphoto2/receipt @ rev 24983

Up xcursor-comix (0.9.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 16:45:21 2022 +0000 (2022-05-08)
parents 932cd974e081
children
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 }