wok view mtools/receipt @ rev 5448

linmodem-intel-536ep: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 13:57:41 2010 +0200 (2010-05-05)
parents cde7fa93f1d6
children c189fe0fd8fc
line source
1 # SliTaz package receipt.
3 PACKAGE="mtools"
4 VERSION="4.0.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Access MS-DOS disk from *nix."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mtools.linux.lu/"
11 WGET_URL="http://mtools.linux.lu/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 # Patching Makefile to avoid error on makeinfo
17 cd $src
18 ./configure --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make MYCFLAGS="-g -O2 -wall" mtools &&
21 make MYCFLAGS="-g -O2 -wall" install DESTDIR=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 }