wok-6.x view xchm/receipt @ rev 4075

Add: libupnp (The portable Universal Plug and Play)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Sep 13 23:57:55 2009 +0200 (2009-09-13)
parents 3ee8a4a0be3d
children 93b40843d3da
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 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="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 }