wok annotate gphotofs/receipt @ rev 24949

updated nagios-nsca (2.9.2 -> 2.10.1)
author Hans-G?nter Theisgen
date Fri Apr 22 17:54:28 2022 +0100 (2022-04-22)
parents 932cd974e081
children 6b33f9da53d4
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@24766 13 DEPENDS="fuse2 libgphoto2 glib"
pascal@24766 14 BUILD_DEPENDS="fuse2-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 }