wok annotate wxdfast/receipt @ rev 8028

up: xfdesktop* (4.8.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 20 02:18:47 2011 +0100 (2011-01-20)
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