wok-next view xchm/receipt @ rev 21719

gtk3: added build dependency libxtst
author Hans-G?nter Theisgen
date Tue Aug 04 17:36:05 2020 +0100 (2020-08-04)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xchm"
4 VERSION="1.23"
5 CATEGORY="utilities"
6 SHORT_DESC="Cross-platform GUI for chmlib"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://xchm.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TARBALL_SHA1="d0de589775164ee8123b25082c54587f0cc72e1d"
15 BUILD_DEPENDS="wxwidgets-dev chmlib-dev"
16 DEPENDS="chmlib wxwidgets"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make install || return 1
23 rm -r $install/usr/share/pixmaps/
25 install -Dm644 art/xchm-16.png $install/usr/share/icons/hicolor/16x16/apps/xchm.png
26 install -Dm644 art/xchm-48.png $install/usr/share/icons/hicolor/48x48/apps/xchm.png
27 install -Dm644 art/xchmdoc-16.png $install/usr/share/icons/hicolor/16x16/mimetypes/application-vnd.ms-htmlhelp.png
28 install -Dm644 art/xchmdoc-48.png $install/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.ms-htmlhelp.png
30 install -Dm644 $stuff/xchm.desktop $install/usr/share/applications/xchm.desktop
31 }