wok-6.x annotate wxdfast/receipt @ rev 1554
db nbs: abort on wget failure
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:57:17 2008 +0000 (2008-10-12) |
parents | 21650839693f |
children | b2e3d4e4a21d |
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" |
erjo@1238 | 8 DEPENDS="wxWidgets" |
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 \ |
erjo@1238 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@1238 | 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 |