wok view xchm/receipt @ rev 25594
Update some web_site/wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 11 10:40:23 2023 +0000 (16 months ago) |
parents | c365fe17a816 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xchm"
4 VERSION="1.23"
5 CATEGORY="utilities"
6 SHORT_DESC="Cross-platform GUI for chmlib"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/rzvncj/xCHM"
11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 WGET_URL="https://sourceforge.net/projects/xchm/files/xCHM/$PACKAGE-$VERSION/$TARBALL"
14 DEPENDS="wxWidgets28 chmlib xorg-libXdamage xorg-libXxf86vm"
15 BUILD_DEPENDS="wxWidgets28-dev chmlib-dev"
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/locale
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
36 cp -a $install/usr/share/pixmaps $fs/usr/share
37 }