wok-current annotate wxdfast/receipt @ rev 12564
udev: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 18:52:14 2012 +0200 (2012-04-28) |
parents | 2c679ce49f4c |
children | 380ffe05937a |
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@5007 | 8 DEPENDS="wxWidgets xorg-libXdamage xorg-libXxf86vm" |
erjo@1238 | 9 BUILD_DEPENDS="wxWidgets-dev" |
erjo@1238 | 10 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
erjo@1238 | 11 WEB_SITE="http://dfast.sourceforge.net/index.html" |
erjo@1238 | 12 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/dfast/$TARBALL" |
erjo@1238 | 13 |
erjo@1238 | 14 # Rules to configure and make the package. |
erjo@1238 | 15 compile_rules() |
erjo@1238 | 16 { |
erjo@1238 | 17 |
erjo@1238 | 18 cd $src |
erjo@1238 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2527 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2527 | 21 make && |
erjo@1238 | 22 make DESTDIR=$PWD/_pkg 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 \ |
erjo@1238 | 29 $fs/usr/share \ |
erjo@1238 | 30 $fs/usr/share/locale |
erjo@1238 | 31 |
erjo@1238 | 32 cp -a $_pkg/usr/bin $fs/usr |
erjo@1238 | 33 cp -a $_pkg/usr/share/wxdfast $fs/usr/share |
erjo@1238 | 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@1238 | 35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1238 | 36 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@1238 | 37 |
erjo@1238 | 38 } |
erjo@1238 | 39 |