wok-next annotate wxdfast/receipt @ rev 16596
Add piclass-code-examples (with 8x8 examples)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 07 11:14:26 2014 +0200 (2014-05-07) |
parents | 4897058add72 |
children | affba9aecc73 |
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 |
pascal@15000 | 13 DEPENDS="wxWidgets xorg-libXdamage xorg-libXxf86vm" |
pascal@15000 | 14 BUILD_DEPENDS="wxWidgets-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 |
erjo@1238 | 20 cd $src |
erjo@1238 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2527 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2527 | 23 make && |
pascal@15000 | 24 make DESTDIR=$DESTDIR install |
erjo@1238 | 25 } |
erjo@1238 | 26 |
erjo@1238 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1238 | 28 genpkg_rules() |
erjo@1238 | 29 { |
erjo@1238 | 30 mkdir -p $fs/usr \ |
erjo@1238 | 31 $fs/usr/share \ |
erjo@1238 | 32 $fs/usr/share/locale |
erjo@1238 | 33 |
pascal@15000 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 35 cp -a $install/usr/share/wxdfast $fs/usr/share |
pascal@15000 | 36 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15000 | 37 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 38 cp -a $install/usr/share/applications $fs/usr/share |
erjo@1238 | 39 |
erjo@1238 | 40 } |
erjo@1238 | 41 |