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

wqy-microhei, wqy-bitmapfont: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 15:45:23 2011 +0100 (2011-03-04)
parents 2c679ce49f4c
children 380ffe05937a
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 xorg-libXdamage xorg-libXxf86vm"
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 }