wok-next view mtools/receipt @ rev 19595

Up linux (4.9.4)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 17:27:31 2017 +0200 (2017-01-21)
parents 8059fb0e712e
children 0e8dadf052b9
line source
1 # SliTaz package receipt.
3 PACKAGE="mtools"
4 VERSION="4.0.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Access MS-DOS disk from *nix."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mtools.linux.lu/"
11 WGET_URL="http://mtools.linux.lu/$TARBALL"
13 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp"
14 BUILD_DEPENDS="texinfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Patching Makefile to avoid error on makeinfo
20 cd $src
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make MYCFLAGS="-g -O2 -Wall" mtools &&
24 make -j1 MYCFLAGS="-g -O2 -Wall" install DESTDIR=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }