wok view mtools/receipt @ rev 25673

Fix tcpdump path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:52:00 2024 +0000 (8 months ago)
parents 93cf4f2340c6
children
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 - https://ftp.gnu.org/gnu/$PACKAGE/ 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 }