wok-4.x view wxdfast/receipt @ rev 1432
Add: rpm4
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Oct 01 00:00:56 2008 +0200 (2008-10-01) |
parents | 21650839693f |
children | b2e3d4e4a21d |
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 DEPENDS="wxWidgets"
9 BUILD_DEPENDS="wxWidgets-dev"
10 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
11 WEB_SITE="http://dfast.sourceforge.net/index.html"
12 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/dfast/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/wxdfast $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 cp -a $_pkg/usr/share/applications $fs/usr/share
38 }