wok-6.x annotate xchm/receipt @ rev 10190

Up: xchm to 1.19.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 22:50:10 2011 +0000 (2011-05-20)
parents 6609702ae5ca
children 7978be568da0
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"
allan316@3451 8 DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm"
erjo@1306 9 BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib-dev"
erjo@1306 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1306 11 WEB_SITE="http://xchm.sourceforge.net"
slaxemulator@10190 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@1306 13
erjo@1306 14 # Rules to configure and make the package.
erjo@1306 15 compile_rules()
erjo@1306 16 {
erjo@1306 17 cd $src
slaxemulator@10190 18 ./configure $CONFIGURE_ARGS &&
slaxemulator@10190 19 make && make install
erjo@1306 20 }
erjo@1306 21
erjo@1306 22 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1306 23 genpkg_rules()
erjo@1306 24 {
erjo@1306 25 mkdir -p $fs/usr/share/locale \
erjo@1306 26 $fs/usr/share/applications \
erjo@1306 27
erjo@1306 28 cp -a $_pkg/usr/bin $fs/usr
erjo@1306 29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@1306 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@1306 31
erjo@1306 32 cp -a stuff/*.desktop $fs/usr/share/applications
erjo@1306 33 }
erjo@1306 34