wok view wxdfast/receipt @ rev 24178

created recipe for perl-file-sharedir-install
author Hans-G?nter Theisgen
date Fri Dec 31 06:33:57 2021 +0100 (2021-12-31)
parents 380ffe05937a
children 3105f866bc3e
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="wxWidgets28 xorg-libXdamage xorg-libXxf86vm"
14 BUILD_DEPENDS="wxWidgets28-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr \
29 $fs/usr/share \
30 $fs/usr/share/locale
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/wxdfast $fs/usr/share
34 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $install/usr/share/pixmaps $fs/usr/share
36 cp -a $install/usr/share/applications $fs/usr/share
37 }