wok-6.x annotate curlftpfs/receipt @ rev 24493

updated dokuwiki (20180422b -> 20200729)
author Hans-G?nter Theisgen
date Sat Feb 19 11:02:17 2022 +0100 (2022-02-19)
parents 380ffe05937a
children b1356f30c0b8
rev   line source
erjo@460 1 # SliTaz package receipt.
erjo@460 2
erjo@460 3 PACKAGE="curlftpfs"
erjo@2956 4 VERSION="0.9.2"
erjo@460 5 CATEGORY="system-tools"
erjo@460 6 SHORT_DESC="Using FUSE to access FTP servers."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@460 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@460 10 WEB_SITE="http://curlftpfs.sourceforge.net/"
erjo@460 11 WGET_URL="http://downloads.sourceforge.net/curlftpfs/$TARBALL"
erjo@460 12
pascal@15000 13 DEPENDS="fuse curl glib zlib"
pascal@15000 14 BUILD_DEPENDS="fuse fuse-dev curl curl-dev glib-dev"
pascal@15000 15
pascal@24361 16 # What is the latest version available today?
pascal@24361 17 current_version()
pascal@24361 18 {
pascal@24361 19 wget -O - https://sourceforge.net/projects/curlftpfs/files/curlftpfs/ 2>/dev/null | \
pascal@24361 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 21 sed '/scope="row/!d;s|.*/curlftpfs/||;s|/.*||;q'
pascal@24361 22 }
pascal@24361 23
erjo@460 24 # Rules to configure and make the package.
erjo@460 25 compile_rules()
erjo@460 26 {
erjo@460 27 cd $src
pascal@1514 28 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@1514 29 make &&
pascal@15000 30 make DESTDIR=$DESTDIR install
erjo@460 31 }
erjo@460 32
erjo@460 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@460 34 genpkg_rules()
erjo@460 35 {
erjo@460 36 mkdir -p $fs/usr
pascal@15000 37 cp -a $install/usr/bin $fs/usr
erjo@460 38 }