wok-6.x view wxdfast/receipt @ rev 17939

partimage: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 15 09:53:08 2015 +0200 (2015-04-15)
parents 4897058add72
children affba9aecc73
line source
1 # SliTaz package receipt.
3 PACKAGE="wxdfast"
4 VERSION="0.6.0"
5 CATEGORY="network"
6 SHORT_DESC="Download Manager."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
10 WEB_SITE="http://dfast.sourceforge.net/index.html"
11 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/dfast/$TARBALL"
13 DEPENDS="wxWidgets xorg-libXdamage xorg-libXxf86vm"
14 BUILD_DEPENDS="wxWidgets-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr \
31 $fs/usr/share \
32 $fs/usr/share/locale
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/wxdfast $fs/usr/share
36 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
37 cp -a $install/usr/share/pixmaps $fs/usr/share
38 cp -a $install/usr/share/applications $fs/usr/share
40 }