wok-6.x annotate mtools/receipt @ rev 22512
Up pkg-config (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 01 15:53:13 2020 +0100 (2020-01-01) |
parents | 3032e1d97d20 |
children | 71360a13cd94 |
rev | line source |
---|---|
erjo@1388 | 1 # SliTaz package receipt. |
erjo@1388 | 2 |
erjo@1388 | 3 PACKAGE="mtools" |
Hans-G?nter@21497 | 4 VERSION="4.0.23" |
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" |
Hans-G?nter@21497 | 9 WEB_SITE="https://gnu.org/software/mtools/" |
Hans-G?nter@21497 | 10 |
erjo@4278 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21497 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@1388 | 13 |
pascal@15084 | 14 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp" |
pascal@15084 | 15 BUILD_DEPENDS="texinfo" |
pascal@15084 | 16 |
erjo@1388 | 17 # Rules to configure and make the package. |
erjo@1388 | 18 compile_rules() |
erjo@1388 | 19 { |
Hans-G?nter@21497 | 20 ./configure \ |
Hans-G?nter@21497 | 21 --prefix=/usr \ |
Hans-G?nter@21497 | 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 } |