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