wok-6.x annotate xchm/receipt @ rev 19966
Add fslint
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 01 13:39:37 2017 +0200 (2017-06-01) |
parents | affba9aecc73 |
children | 1d426143c715 |
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 |
al@18521 | 13 DEPENDS="wxWidgets28 chmlib xorg-libXdamage xorg-libXxf86vm" |
al@18522 | 14 BUILD_DEPENDS="wxWidgets28-dev chmlib-dev" |
pascal@10457 | 15 |
erjo@1306 | 16 # Rules to configure and make the package. |
erjo@1306 | 17 compile_rules() |
erjo@1306 | 18 { |
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 { |
samuel_trassare@12057 | 26 mkdir -p $fs/usr/share/locale |
pascal@15000 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 28 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15000 | 29 cp -a $install/usr/share/pixmaps $fs/usr/share |
erjo@1306 | 30 } |