wok-6.x annotate mtools/receipt @ rev 5211
slitaz-mercurial-style: typos (thanks paul)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 03 01:29:07 2010 +0200 (2010-04-03) |
parents | cde7fa93f1d6 |
children | c189fe0fd8fc |
rev | line source |
---|---|
erjo@1388 | 1 # SliTaz package receipt. |
erjo@1388 | 2 |
erjo@1388 | 3 PACKAGE="mtools" |
erjo@4278 | 4 VERSION="4.0.11" |
erjo@1388 | 5 CATEGORY="system-tools" |
erjo@1388 | 6 SHORT_DESC="Access MS-DOS disk from *nix." |
erjo@1388 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2464 | 8 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp" |
erjo@4278 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1388 | 10 WEB_SITE="http://mtools.linux.lu/" |
erjo@1388 | 11 WGET_URL="http://mtools.linux.lu/$TARBALL" |
erjo@1388 | 12 |
erjo@1388 | 13 # Rules to configure and make the package. |
erjo@1388 | 14 compile_rules() |
erjo@1388 | 15 { |
erjo@1388 | 16 # Patching Makefile to avoid error on makeinfo |
erjo@1388 | 17 cd $src |
erjo@1388 | 18 ./configure --prefix=/usr \ |
erjo@4278 | 19 $CONFIGURE_ARGS && |
erjo@4278 | 20 make MYCFLAGS="-g -O2 -wall" mtools && |
erjo@4278 | 21 make MYCFLAGS="-g -O2 -wall" install DESTDIR=$PWD/_pkg |
erjo@1388 | 22 } |
erjo@1388 | 23 |
erjo@1388 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1388 | 25 genpkg_rules() |
erjo@1388 | 26 { |
erjo@1388 | 27 mkdir -p $fs/usr |
erjo@1388 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@1388 | 29 } |
erjo@1388 | 30 |