wok annotate xchm/receipt @ rev 15063
hdf5: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:59:59 2013 +0000 (2013-08-13) |
parents | 9c762d56b413 |
children | affba9aecc73 |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@1306 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1306 | 10 WEB_SITE="http://xchm.sourceforge.net" |
slaxemulator@10190 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
erjo@1306 | 12 |
pascal@10457 | 13 DEPENDS="wxWidgets chmlib xorg-libXdamage xorg-libXxf86vm" |
pascal@10457 | 14 BUILD_DEPENDS="wxWidgets wxWidgets-dev chmlib chmlib-dev" |
pascal@10457 | 15 |
erjo@1306 | 16 # Rules to configure and make the package. |
erjo@1306 | 17 compile_rules() |
erjo@1306 | 18 { |
erjo@1306 | 19 cd $src |
slaxemulator@10190 | 20 ./configure $CONFIGURE_ARGS && |
slaxemulator@10190 | 21 make && make 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 { |
samuel_trassare@12057 | 27 mkdir -p $fs/usr/share/locale |
pascal@15000 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 29 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15000 | 30 cp -a $install/usr/share/pixmaps $fs/usr/share |
erjo@1306 | 31 } |
erjo@1306 | 32 |