wok-next annotate xchm/receipt @ rev 21121

Up libfilezilla, filezilla, wxhexeditor, libarchive, ntop, pugixml, rapidsvn, serf, xchm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 14 05:10:43 2019 +0200 (2019-01-14)
parents 5669e8b3be70
children
rev   line source
al@21121 1 # SliTaz package receipt v2.
erjo@1306 2
erjo@1306 3 PACKAGE="xchm"
al@21121 4 VERSION="1.23"
erjo@1306 5 CATEGORY="utilities"
erjo@1306 6 SHORT_DESC="Cross-platform GUI for chmlib"
al@21121 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://xchm.sourceforge.net/"
al@21020 10
erjo@1306 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@10190 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@21121 13 TARBALL_SHA1="d0de589775164ee8123b25082c54587f0cc72e1d"
erjo@1306 14
al@21121 15 BUILD_DEPENDS="wxwidgets-dev chmlib-dev"
al@21121 16 DEPENDS="chmlib wxwidgets"
pascal@10457 17
al@21020 18 compile_rules() {
slaxemulator@10190 19 ./configure $CONFIGURE_ARGS &&
al@21020 20 make &&
al@21121 21 make install || return 1
al@21121 22
al@21121 23 rm -r $install/usr/share/pixmaps/
al@21121 24
al@21121 25 install -Dm644 art/xchm-16.png $install/usr/share/icons/hicolor/16x16/apps/xchm.png
al@21121 26 install -Dm644 art/xchm-48.png $install/usr/share/icons/hicolor/48x48/apps/xchm.png
al@21121 27 install -Dm644 art/xchmdoc-16.png $install/usr/share/icons/hicolor/16x16/mimetypes/application-vnd.ms-htmlhelp.png
al@21121 28 install -Dm644 art/xchmdoc-48.png $install/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.ms-htmlhelp.png
al@21121 29
al@21121 30 install -Dm644 $stuff/xchm.desktop $install/usr/share/applications/xchm.desktop
erjo@1306 31 }