wok-current view xchm/receipt @ rev 10726

libtaz: Don't need to check /usr/bin/hg anymore. Best to get the tag 1.1.2 version. May need to delete the slitaz-dev-tools-1.1.2.tar.bz2 source on tank to make sure we have the tag version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 20:44:37 2011 +0000 (2011-05-28)
parents 3a16f3fec27e
children 9c762d56b413
line source
1 # SliTaz package receipt.
3 PACKAGE="xchm"
4 VERSION="1.19"
5 CATEGORY="utilities"
6 SHORT_DESC="Cross-platform GUI for chmlib"
7 MAINTAINER="allan316@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://xchm.sourceforge.net"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm"
13 BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib chmlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/locale \
27 $fs/usr/share/applications \
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
33 cp -a stuff/*.desktop $fs/usr/share/applications
34 }