wok annotate xchm/receipt @ rev 25006

updated ntp (4.2.8.p13 -> 4.2.8.p15)
author Hans-G?nter Theisgen
date Mon May 16 16:37:26 2022 +0100 (2022-05-16)
parents 93cfbe138cae
children 92b662c0aa2d
rev   line source
erjo@1306 1 # SliTaz package receipt.
erjo@1306 2
erjo@1306 3 PACKAGE="xchm"
psychomaniak@20114 4 VERSION="1.23"
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"
pascal@23069 10 WEB_SITE="https://github.com/rzvncj/xCHM"
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
pascal@24105 16 current_version()
pascal@24105 17 {
pascal@24105 18 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24105 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24105 20 }
pascal@24105 21
erjo@1306 22 # Rules to configure and make the package.
erjo@1306 23 compile_rules()
erjo@1306 24 {
slaxemulator@10190 25 ./configure $CONFIGURE_ARGS &&
slaxemulator@10190 26 make && make install
erjo@1306 27 }
erjo@1306 28
erjo@1306 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1306 30 genpkg_rules()
erjo@1306 31 {
samuel_trassare@12057 32 mkdir -p $fs/usr/share/locale
pascal@15000 33 cp -a $install/usr/bin $fs/usr
pascal@15000 34 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@15000 35 cp -a $install/usr/share/pixmaps $fs/usr/share
erjo@1306 36 }