wok-6.x diff mtools/receipt @ rev 1717

Up tazpkg (2.5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 17 17:59:08 2008 +0000 (2008-11-17)
parents
children cde7fa93f1d6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mtools/receipt	Mon Nov 17 17:59:08 2008 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mtools"
     1.7 +VERSION="3.9.11"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Access MS-DOS disk from *nix."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://mtools.linux.lu/"
    1.14 +WGET_URL="http://mtools.linux.lu/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	# Patching Makefile to avoid error on makeinfo
    1.20 +	cd  $src
    1.21 +	./configure --prefix=/usr \
    1.22 +		$CONFIGURE_ARGS &&
    1.23 +	patch -p1 -i ../stuff/mtools_makefile.patch &&
    1.24 +	make mtools &&
    1.25 +	make install DESTDIR=$PWD/_pkg
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +}
    1.34 +