wok-6.x annotate xchm/receipt @ rev 18521
Add wxWidgets28 for oldstable version of wxWidgets. Move old packages to use it.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 26 02:54:52 2015 +0200 (2015-10-26) |
parents | 380ffe05937a |
children | 12c405bdb514 |
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@18521 | 14 BUILD_DEPENDS="wxWidget28s-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 } |