wok annotate wxdfast/receipt @ rev 2307
Up: geany (0.16)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 25 00:21:06 2009 +0100 (2009-02-25) |
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 |