wok-6.x annotate mtools/receipt @ rev 11754
Up: slitaz-configs (4.7) New grub splash image and fix GTK icon
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 22 16:35:30 2012 +0100 (2012-02-22) |
parents | 014c4d6d0533 |
children | 3032e1d97d20 |
rev | line source |
---|---|
erjo@1388 | 1 # SliTaz package receipt. |
erjo@1388 | 2 |
erjo@1388 | 3 PACKAGE="mtools" |
slaxemulator@10247 | 4 VERSION="4.0.16" |
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" |
slaxemulator@6568 | 9 BUILD_DEPENDS="texinfo" |
erjo@4278 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1388 | 11 WEB_SITE="http://mtools.linux.lu/" |
erjo@1388 | 12 WGET_URL="http://mtools.linux.lu/$TARBALL" |
erjo@1388 | 13 |
erjo@1388 | 14 # Rules to configure and make the package. |
erjo@1388 | 15 compile_rules() |
erjo@1388 | 16 { |
erjo@1388 | 17 # Patching Makefile to avoid error on makeinfo |
erjo@1388 | 18 cd $src |
erjo@1388 | 19 ./configure --prefix=/usr \ |
erjo@4278 | 20 $CONFIGURE_ARGS && |
slaxemulator@10247 | 21 make MYCFLAGS="-g -O2 -wall" mtools && |
slaxemulator@10247 | 22 make -j1 MYCFLAGS="-g -O2 -wall" install DESTDIR=$DESTDIR |
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 |