wok-stable annotate xchm/receipt @ rev 8760
Fix: ocaml need -j1 to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 21 04:34:17 2011 +0100 (2011-02-21) |
parents | 93b40843d3da |
children | 3a16f3fec27e |
rev | line source |
---|---|
erjo@1306 | 1 # SliTaz package receipt. |
erjo@1306 | 2 |
erjo@1306 | 3 PACKAGE="xchm" |
slaxemulator@8357 | 4 VERSION="1.18" |
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" |
erjo@1306 | 12 WGET_URL="http://transact.dl.sourceforge.net/sourceforge/xchm/$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 |
erjo@1306 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2528 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2528 | 20 make && |
erjo@1306 | 21 make DESTDIR=$PWD/_pkg install |
erjo@1306 | 22 } |
erjo@1306 | 23 |
erjo@1306 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1306 | 25 genpkg_rules() |
erjo@1306 | 26 { |
erjo@1306 | 27 mkdir -p $fs/usr/share/locale \ |
erjo@1306 | 28 $fs/usr/share/applications \ |
erjo@1306 | 29 |
erjo@1306 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@1306 | 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@1306 | 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1306 | 33 |
erjo@1306 | 34 cp -a stuff/*.desktop $fs/usr/share/applications |
erjo@1306 | 35 } |
erjo@1306 | 36 |