wok-6.x view fuseiso/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
parents | e3f377fbc5f0 |
children | b1356f30c0b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fuseiso"
4 VERSION="20070708"
5 CATEGORY="system-tools"
6 SHORT_DESC="Using FUSE to mount ISO filesystem"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://sourceforge.net/projects/fuseiso/"
11 WGET_URL="http://ubiz.ru/dm/$TARBALL"
13 DEPENDS="fuse glib zlib"
14 BUILD_DEPENDS="fuse fuse-dev glib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/fuseiso/files/fuseiso/ 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|.*/fuseiso/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }