wok-next view xchm/receipt @ rev 4944

improve mplayer-svn DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 16:04:25 2010 +0000 (2010-02-16)
parents e9a453e6e696
children 6609702ae5ca
line source
1 # SliTaz package receipt.
3 PACKAGE="xchm"
4 VERSION="1.17"
5 CATEGORY="utilities"
6 SHORT_DESC="Cross-platform GUI for chmlib"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm"
9 BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://xchm.sourceforge.net"
12 WGET_URL="http://transact.dl.sourceforge.net/sourceforge/xchm/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale \
28 $fs/usr/share/applications \
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
34 cp -a stuff/*.desktop $fs/usr/share/applications
35 }