# SliTaz package receipt. PACKAGE="mtools" VERSION="4.0.16" CATEGORY="system-tools" SHORT_DESC="Access MS-DOS disk from *nix." MAINTAINER="erjo@slitaz.org" DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp" BUILD_DEPENDS="texinfo" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://mtools.linux.lu/" WGET_URL="http://mtools.linux.lu/$TARBALL" # Rules to configure and make the package. compile_rules() { # Patching Makefile to avoid error on makeinfo cd $src ./configure --prefix=/usr \ $CONFIGURE_ARGS && make MYCFLAGS="-g -O2 -wall" mtools && make -j1 MYCFLAGS="-g -O2 -wall" install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr }