wok-current view xchm/receipt @ rev 3157

Up: lemon (3.6.14.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 18:36:30 2009 +0200 (2009-05-24)
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 }