wok-6.x annotate gphotofs/receipt @ rev 24692

updated jsoncpp (1.9.2 -> 1.9.5)
author Hans-G?nter Theisgen
date Sat Mar 12 15:46:33 2022 +0100 (2022-03-12)
parents e9fa26e05c37
children 72f2704d3ae0
rev   line source
pascal@20430 1 # SliTaz package receipt.
pascal@20430 2
pascal@20430 3 PACKAGE="gphotofs"
pascal@20430 4 VERSION="0.5.0"
pascal@20430 5 CATEGORY="base-system"
pascal@20430 6 SHORT_DESC="a FUSE filesystem module to mount your camera as a filesystem"
pascal@20430 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20430 8 LICENSE="GPL2"
pascal@20430 9 TARBALL="$PACKAGE-${VERSION%.*}.tar.bz2"
pascal@20430 10 WEB_SITE="http://www.gphoto.org/proj/gphotofs/"
pascal@20430 11 WGET_URL="$SF_MIRROR/project/gphoto/$PACKAGE/$VERSION/$TARBALL"
pascal@20430 12
pascal@20430 13 DEPENDS="fuse libgphoto2 glib"
pascal@20431 14 BUILD_DEPENDS="fuse-dev libgphoto2-dev glib-dev libtool"
pascal@20430 15
pascal@24403 16 # What is the latest version available today?
pascal@24403 17 current_version()
pascal@24403 18 {
pascal@24403 19 wget -O - https://sourceforge.net/projects/gphoto/files/gphotofs/ 2>/dev/null | \
pascal@24403 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 21 sed '/scope="row/!d;s|.*/gphotofs/||;s|/.*||;q'
pascal@24403 22 }
pascal@24403 23
pascal@20430 24 # Rules to configure and make the package.
pascal@20430 25 compile_rules()
pascal@20430 26 {
pascal@20430 27 ./configure --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v POTFILES
pascal@20430 28 make &&
pascal@20430 29 make DESTDIR=$DESTDIR install
pascal@20430 30 }
pascal@20430 31
pascal@20430 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20430 33 genpkg_rules()
pascal@20430 34 {
pascal@20430 35 cp -a $install/usr $fs
pascal@20430 36 mkdir -p $install/usr/share/doc
pascal@20430 37 cp $src/README $install/usr/share/doc
pascal@20430 38 }