wok annotate xchm/receipt @ rev 25704

BootProg: contiguous file support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 04 16:57:31 2024 +0000 (3 weeks ago)
parents 92b662c0aa2d
children
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@25601 17 # What is the latest version available today?
pascal@24105 18 current_version()
pascal@24105 19 {
pascal@24105 20 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24105 22 }
pascal@24105 23
erjo@1306 24 # Rules to configure and make the package.
erjo@1306 25 compile_rules()
erjo@1306 26 {
slaxemulator@10190 27 ./configure $CONFIGURE_ARGS &&
slaxemulator@10190 28 make && make install
erjo@1306 29 }
erjo@1306 30
erjo@1306 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1306 32 genpkg_rules()
erjo@1306 33 {
samuel_trassare@12057 34 mkdir -p $fs/usr/share/locale
pascal@15000 35 cp -a $install/usr/bin $fs/usr
pascal@15000 36 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@15000 37 cp -a $install/usr/share/pixmaps $fs/usr/share
erjo@1306 38 }