wok-current annotate mtools/receipt @ rev 25177
Update some web_site & wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 02 13:44:10 2022 +0000 (2022-07-02) |
parents | 71360a13cd94 |
children |
rev | line source |
---|---|
erjo@1388 | 1 # SliTaz package receipt. |
erjo@1388 | 2 |
erjo@1388 | 3 PACKAGE="mtools" |
Hans-G?nter@24929 | 4 VERSION="4.0.39" |
erjo@1388 | 5 CATEGORY="system-tools" |
erjo@1388 | 6 SHORT_DESC="Access MS-DOS disk from *nix." |
erjo@1388 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15084 | 8 LICENSE="GPL3" |
Hans-G?nter@21497 | 9 WEB_SITE="https://gnu.org/software/mtools/" |
Hans-G?nter@21497 | 10 |
erjo@4278 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21497 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@1388 | 13 |
pascal@15084 | 14 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp" |
pascal@15084 | 15 BUILD_DEPENDS="texinfo" |
pascal@15084 | 16 |
pascal@24336 | 17 # What is the latest version available today? |
pascal@24336 | 18 current_version() |
pascal@24336 | 19 { |
pascal@24336 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 22 } |
pascal@24336 | 23 |
erjo@1388 | 24 # Rules to configure and make the package. |
erjo@1388 | 25 compile_rules() |
erjo@1388 | 26 { |
Hans-G?nter@21497 | 27 ./configure \ |
Hans-G?nter@21497 | 28 --prefix=/usr \ |
Hans-G?nter@21497 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@24929 | 30 make mtools MYCFLAGS="-g -O2 -Wall" && |
Hans-G?nter@24929 | 31 make install MYCFLAGS="-g -O2 -Wall" DESTDIR=$DESTDIR |
erjo@1388 | 32 } |
erjo@1388 | 33 |
erjo@1388 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1388 | 35 genpkg_rules() |
erjo@1388 | 36 { |
Hans-G?nter@24929 | 37 cook_copy_folders bin |
erjo@1388 | 38 } |