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