wok-stable annotate mtools/receipt @ rev 1540
wormux: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 10 14:12:27 2008 +0000 (2008-10-10) |
parents | |
children | cde7fa93f1d6 |
rev | line source |
---|---|
erjo@1388 | 1 # SliTaz package receipt. |
erjo@1388 | 2 |
erjo@1388 | 3 PACKAGE="mtools" |
erjo@1388 | 4 VERSION="3.9.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" |
erjo@1388 | 8 DEPENDS="" |
erjo@1388 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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@1388 | 19 $CONFIGURE_ARGS && |
erjo@1388 | 20 patch -p1 -i ../stuff/mtools_makefile.patch && |
erjo@1388 | 21 make mtools && |
erjo@1388 | 22 make install DESTDIR=$PWD/_pkg |
erjo@1388 | 23 } |
erjo@1388 | 24 |
erjo@1388 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1388 | 26 genpkg_rules() |
erjo@1388 | 27 { |
erjo@1388 | 28 mkdir -p $fs/usr |
erjo@1388 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@1388 | 30 } |
erjo@1388 | 31 |