wok rev 1388

Add: mtoos, ms-dos disk tools.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Sep 17 22:09:48 2008 +0200 (2008-09-17)
parents f2131ad83e52
children 7259edfa1011
files mtools/receipt mtools/stuff/mtools_makefile.patch
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mtools/receipt	Wed Sep 17 22:09:48 2008 +0200
     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 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mtools/stuff/mtools_makefile.patch	Wed Sep 17 22:09:48 2008 +0200
     2.3 @@ -0,0 +1,13 @@
     2.4 +--- mtools-3.9.11.ori/Makefile	Tue Sep 16 22:01:39 2008
     2.5 ++++ mtools-3.9.11/Makefile	Tue Sep 16 22:05:15 2008
     2.6 +@@ -216,8 +216,8 @@
     2.7 + uninstall-info:
     2.8 + 	cd $(DESTDIR)$(infodir) && rm -f mtools.info*
     2.9 + 
    2.10 +-install:	$(DESTDIR)$(bindir)/mtools $(DESTDIR)$(bindir)/floppyd $(DESTDIR)$(bindir)/floppyd_installtest install-man install-links \
    2.11 +-		$(DESTDIR)$(bindir)/mkmanifest install-scripts install-info
    2.12 ++install:	$(DESTDIR)$(bindir)/mtools $(DESTDIR)$(bindir)/floppyd $(DESTDIR)$(bindir)/floppyd_installtest install-links \
    2.13 ++		$(DESTDIR)$(bindir)/mkmanifest install-scripts
    2.14 + 
    2.15 + uninstall:	uninstall-bin uninstall-man uninstall-links \
    2.16 + 		uninstall-scripts