wok-6.x view xchm/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (20 months ago) |
parents | c365fe17a816 |
children |
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 }