wok-current annotate xchm/receipt @ rev 10695

merge
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 22:53:32 2011 +0200 (2011-05-27)
parents 3a16f3fec27e
children 9c762d56b413
rev   line source
erjo@1306 1 # SliTaz package receipt.
erjo@1306 2
erjo@1306 3 PACKAGE="xchm"
slaxemulator@10190 4 VERSION="1.19"
erjo@1306 5 CATEGORY="utilities"
erjo@1306 6 SHORT_DESC="Cross-platform GUI for chmlib"
erjo@1306 7 MAINTAINER="allan316@gmail.com"
erjo@1306 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1306 9 WEB_SITE="http://xchm.sourceforge.net"
slaxemulator@10190 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@1306 11
pascal@10457 12 DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm"
pascal@10457 13 BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib chmlib-dev"
pascal@10457 14
erjo@1306 15 # Rules to configure and make the package.
erjo@1306 16 compile_rules()
erjo@1306 17 {
erjo@1306 18 cd $src
slaxemulator@10190 19 ./configure $CONFIGURE_ARGS &&
slaxemulator@10190 20 make && make install
erjo@1306 21 }
erjo@1306 22
erjo@1306 23 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1306 24 genpkg_rules()
erjo@1306 25 {
erjo@1306 26 mkdir -p $fs/usr/share/locale \
erjo@1306 27 $fs/usr/share/applications \
erjo@1306 28
erjo@1306 29 cp -a $_pkg/usr/bin $fs/usr
erjo@1306 30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@1306 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@1306 32
erjo@1306 33 cp -a stuff/*.desktop $fs/usr/share/applications
erjo@1306 34 }
erjo@1306 35