wok-6.x view xchm/receipt @ rev 9249

Down mpd 15.15 (I think we need tcp_wrappers)
author Paul Issott <paul@slitaz.org>
date Sun Mar 13 21:32:02 2011 +0000 (2011-03-13)
parents 93b40843d3da
children 3a16f3fec27e
line source
1 # SliTaz package receipt.
3 PACKAGE="xchm"
4 VERSION="1.18"
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 }