wok annotate fuseiso/receipt @ rev 25811
Up rsync (3.4.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 17 16:05:26 2025 +0000 (47 hours ago) |
parents | 69e1e705f038 |
children |
rev | line source |
---|---|
erjo@460 | 1 # SliTaz package receipt. |
erjo@460 | 2 |
erjo@460 | 3 PACKAGE="fuseiso" |
erjo@460 | 4 VERSION="20070708" |
erjo@460 | 5 CATEGORY="system-tools" |
erjo@460 | 6 SHORT_DESC="Using FUSE to mount ISO filesystem" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@460 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25510 | 10 WEB_SITE="https://sourceforge.net/projects/fuseiso/" |
pascal@24972 | 11 WGET_URL="https://ubiz.ru/dm/$TARBALL" |
erjo@460 | 12 |
pascal@24765 | 13 DEPENDS="fuse2 glib zlib" |
pascal@24765 | 14 BUILD_DEPENDS="fuse2 fuse2-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/fuseiso/files/fuseiso/ 2>/dev/null | \ |
pascal@25605 | 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 21 sed '/scope="row/!d;s|.*/fuseiso/||;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 { |
pascal@1514 | 27 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1514 | 28 make && |
pascal@15000 | 29 make DESTDIR=$DESTDIR install |
erjo@460 | 30 } |
erjo@460 | 31 |
erjo@460 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@460 | 33 genpkg_rules() |
erjo@460 | 34 { |
erjo@460 | 35 mkdir -p $fs/usr |
pascal@15000 | 36 cp -a $install/usr/bin $fs/usr |
erjo@460 | 37 } |
erjo@460 | 38 |