wok annotate mtools/receipt @ rev 24551
updated fish and fish-doc (3.0.2 -> 3.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 09:50:31 2022 +0100 (2022-02-25) |
parents | 3d817a7cddf6 |
children | 93cf4f2340c6 |
rev | line source |
---|---|
erjo@1388 | 1 # SliTaz package receipt. |
erjo@1388 | 2 |
erjo@1388 | 3 PACKAGE="mtools" |
Hans-G?nter@21497 | 4 VERSION="4.0.23" |
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 && |
pascal@15084 | 30 make MYCFLAGS="-g -O2 -Wall" mtools && |
pascal@15084 | 31 make -j1 MYCFLAGS="-g -O2 -Wall" install 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 { |
erjo@1388 | 37 mkdir -p $fs/usr |
pascal@15084 | 38 cp -a $install/usr/bin $fs/usr |
erjo@1388 | 39 } |