wok annotate xchm/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents c365fe17a816
children 0262035dc1e7
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"
pascal@25095 11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@25095 12 WGET_URL="https://sourceforge.net/projects/xchm/files/xCHM/$PACKAGE-$VERSION/$TARBALL"
erjo@1306 13
al@18521 14 DEPENDS="wxWidgets28 chmlib xorg-libXdamage xorg-libXxf86vm"
al@18522 15 BUILD_DEPENDS="wxWidgets28-dev chmlib-dev"
pascal@10457 16
pascal@24105 17 current_version()
pascal@24105 18 {
pascal@24105 19 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24105 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24105 21 }
pascal@24105 22
erjo@1306 23 # Rules to configure and make the package.
erjo@1306 24 compile_rules()
erjo@1306 25 {
slaxemulator@10190 26 ./configure $CONFIGURE_ARGS &&
slaxemulator@10190 27 make && make install
erjo@1306 28 }
erjo@1306 29
erjo@1306 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1306 31 genpkg_rules()
erjo@1306 32 {
samuel_trassare@12057 33 mkdir -p $fs/usr/share/locale
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pascal@15000 35 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@15000 36 cp -a $install/usr/share/pixmaps $fs/usr/share
erjo@1306 37 }