wok-current view mtools/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | c189fe0fd8fc |
children | 8059fb0e712e |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtools"
4 VERSION="4.0.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Access MS-DOS disk from *nix."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp"
9 BUILD_DEPENDS="texinfo"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://mtools.linux.lu/"
12 WGET_URL="http://mtools.linux.lu/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Patching Makefile to avoid error on makeinfo
18 cd $src
19 ./configure --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make MYCFLAGS="-g -O2 -wall" mtools &&
22 make MYCFLAGS="-g -O2 -wall" install DESTDIR=$PWD/_pkg
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }