wok annotate wxdfast/receipt @ rev 20218
Up tazlito (484)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 17:56:27 2018 +0100 (2018-02-25) |
parents | 380ffe05937a |
children | 3105f866bc3e |
rev | line source |
---|---|
erjo@1238 | 1 # SliTaz package receipt. |
erjo@1238 | 2 |
erjo@1238 | 3 PACKAGE="wxdfast" |
erjo@1238 | 4 VERSION="0.6.0" |
pascal@1423 | 5 CATEGORY="network" |
erjo@1238 | 6 SHORT_DESC="Download Manager." |
erjo@1238 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@1238 | 9 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
erjo@1238 | 10 WEB_SITE="http://dfast.sourceforge.net/index.html" |
erjo@1238 | 11 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/dfast/$TARBALL" |
erjo@1238 | 12 |
al@18521 | 13 DEPENDS="wxWidgets28 xorg-libXdamage xorg-libXxf86vm" |
al@18521 | 14 BUILD_DEPENDS="wxWidgets28-dev" |
pascal@15000 | 15 |
erjo@1238 | 16 # Rules to configure and make the package. |
erjo@1238 | 17 compile_rules() |
erjo@1238 | 18 { |
erjo@1238 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2527 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2527 | 21 make && |
pascal@15000 | 22 make DESTDIR=$DESTDIR install |
erjo@1238 | 23 } |
erjo@1238 | 24 |
erjo@1238 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1238 | 26 genpkg_rules() |
erjo@1238 | 27 { |
erjo@1238 | 28 mkdir -p $fs/usr \ |
al@18521 | 29 $fs/usr/share \ |
al@18521 | 30 $fs/usr/share/locale |
al@18521 | 31 |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 33 cp -a $install/usr/share/wxdfast $fs/usr/share |
pascal@15000 | 34 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15000 | 35 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 36 cp -a $install/usr/share/applications $fs/usr/share |
erjo@1238 | 37 } |