wok view xchm/receipt @ rev 24934

updated musl-libc and musl-libc-dev (1.2.2 -> 1.2.3)
author Hans-G?nter Theisgen
date Wed Apr 13 17:42:49 2022 +0100 (2022-04-13)
parents 93cfbe138cae
children 92b662c0aa2d
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"
13 DEPENDS="wxWidgets28 chmlib xorg-libXdamage xorg-libXxf86vm"
14 BUILD_DEPENDS="wxWidgets28-dev chmlib-dev"
16 current_version()
17 {
18 wget -O - $WEB_SITE/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/locale
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $install/usr/share/pixmaps $fs/usr/share
36 }