wok annotate mtools/receipt @ rev 16617
libgd: it build with same receipt than december 2013 - but with error on libgd-config that may be present for a long time
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 08 20:04:50 2014 +0200 (2014-05-08) |
parents | 8059fb0e712e |
children | 3d817a7cddf6 |
rev | line source |
---|---|
erjo@1388 | 1 # SliTaz package receipt. |
erjo@1388 | 2 |
erjo@1388 | 3 PACKAGE="mtools" |
slaxemulator@10247 | 4 VERSION="4.0.16" |
erjo@1388 | 5 CATEGORY="system-tools" |
erjo@1388 | 6 SHORT_DESC="Access MS-DOS disk from *nix." |
erjo@1388 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15084 | 8 LICENSE="GPL3" |
erjo@4278 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1388 | 10 WEB_SITE="http://mtools.linux.lu/" |
erjo@1388 | 11 WGET_URL="http://mtools.linux.lu/$TARBALL" |
erjo@1388 | 12 |
pascal@15084 | 13 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp" |
pascal@15084 | 14 BUILD_DEPENDS="texinfo" |
pascal@15084 | 15 |
erjo@1388 | 16 # Rules to configure and make the package. |
erjo@1388 | 17 compile_rules() |
erjo@1388 | 18 { |
erjo@1388 | 19 # Patching Makefile to avoid error on makeinfo |
erjo@1388 | 20 cd $src |
erjo@1388 | 21 ./configure --prefix=/usr \ |
erjo@4278 | 22 $CONFIGURE_ARGS && |
pascal@15084 | 23 make MYCFLAGS="-g -O2 -Wall" mtools && |
pascal@15084 | 24 make -j1 MYCFLAGS="-g -O2 -Wall" install DESTDIR=$DESTDIR |
erjo@1388 | 25 } |
erjo@1388 | 26 |
erjo@1388 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1388 | 28 genpkg_rules() |
erjo@1388 | 29 { |
erjo@1388 | 30 mkdir -p $fs/usr |
pascal@15084 | 31 cp -a $install/usr/bin $fs/usr |
erjo@1388 | 32 } |
erjo@1388 | 33 |