wok view httrack/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | feeb3a07eddd |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="httrack"
4 VERSION="3.49.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="An easy-to-use offline browser utility."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.httrack.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://mirror.httrack.com/$TARBALL"
13 DEPENDS="bash zlib libssl"
14 BUILD_DEPENDS="zlib-dev openssl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://www.httrack.com/page/2/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS && make -j1 && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/httrack
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/httrack/*.so* $fs/usr/lib/httrack
36 cp -a $install/usr/share $fs/usr
37 rm -rf $fs/usr/share/man
38 rm -rf $fs/usr/share/doc
39 }