wok view mtools/receipt @ rev 18689

openssh, openssh-pam: fix post_install() with --root
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 11 00:40:59 2015 +0200 (2015-12-11)
parents 8059fb0e712e
children 3d817a7cddf6
line source
1 # SliTaz package receipt.
3 PACKAGE="mtools"
4 VERSION="4.0.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Access MS-DOS disk from *nix."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mtools.linux.lu/"
11 WGET_URL="http://mtools.linux.lu/$TARBALL"
13 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp"
14 BUILD_DEPENDS="texinfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Patching Makefile to avoid error on makeinfo
20 cd $src
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make MYCFLAGS="-g -O2 -Wall" mtools &&
24 make -j1 MYCFLAGS="-g -O2 -Wall" install DESTDIR=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }