wok view mtools/receipt @ rev 24748
cairo-gl: disabled trace
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 15:28:37 2022 +0000 (2022-03-16) |
parents | 3d817a7cddf6 |
children | 93cf4f2340c6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtools"
4 VERSION="4.0.23"
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 MYCFLAGS="-g -O2 -Wall" mtools &&
31 make -j1 MYCFLAGS="-g -O2 -Wall" install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }