wok-current view xchm/receipt @ rev 2767

seamonkey: update build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 23:12:24 2009 +0200 (2009-04-26)
parents 6de8a52d7266
children 3ee8a4a0be3d
line source
1 # SliTaz package receipt.
3 PACKAGE="xchm"
4 VERSION="1.14"
5 CATEGORY="utilities"
6 SHORT_DESC="Cross-platform GUI for chmlib"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="wxWidgets chmlib libiconv xorg-libXdamage"
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 }