wok-next view xchm/receipt @ rev 10338

poppler: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 01:30:44 2011 +0000 (2011-05-22)
parents 6609702ae5ca
children 7978be568da0
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 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="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS &&
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/locale \
26 $fs/usr/share/applications \
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
32 cp -a stuff/*.desktop $fs/usr/share/applications
33 }