wok view xchm/receipt @ rev 15953
arm: fix file cross compilation and add testsuite
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 23 15:49:23 2014 +0100 (2014-02-23) |
parents | 9c762d56b413 |
children | affba9aecc73 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://xchm.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm"
14 BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib chmlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
30 cp -a $install/usr/share/pixmaps $fs/usr/share
31 }