wok annotate 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
rev   line source
slaxemulator@12863 1 # SliTaz package receipt.
slaxemulator@12863 2
slaxemulator@12863 3 PACKAGE="httrack"
pascal@20564 4 VERSION="3.49.2"
slaxemulator@12863 5 CATEGORY="system-tools"
slaxemulator@12863 6 SHORT_DESC="An easy-to-use offline browser utility."
slaxemulator@12863 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14999 8 LICENSE="GPL3"
slaxemulator@12863 9 WEB_SITE="http://www.httrack.com/"
slaxemulator@12863 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20564 11 WGET_URL="http://mirror.httrack.com/$TARBALL"
slaxemulator@12863 12
pascal@20565 13 DEPENDS="bash zlib libssl"
pascal@20565 14 BUILD_DEPENDS="zlib-dev openssl-dev"
slaxemulator@12863 15
pascal@24445 16 # What is the latest version available today?
pascal@24445 17 current_version()
pascal@24445 18 {
pascal@24445 19 wget -O - http://www.httrack.com/page/2/ 2>/dev/null | \
pascal@24445 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 21 }
pascal@24445 22
slaxemulator@12863 23 # Rules to configure and make the package.
slaxemulator@12863 24 compile_rules()
slaxemulator@12863 25 {
slaxemulator@12863 26 ./configure $CONFIGURE_ARGS && make -j1 && make install
slaxemulator@12863 27 }
slaxemulator@12863 28
slaxemulator@12863 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@12863 30 genpkg_rules()
slaxemulator@12863 31 {
slaxemulator@12863 32 mkdir -p $fs/usr/lib/httrack
slaxemulator@12863 33 cp -a $install/usr/bin $fs/usr
slaxemulator@12863 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@12863 35 cp -a $install/usr/lib/httrack/*.so* $fs/usr/lib/httrack
slaxemulator@12863 36 cp -a $install/usr/share $fs/usr
slaxemulator@12863 37 rm -rf $fs/usr/share/man
slaxemulator@12863 38 rm -rf $fs/usr/share/doc
slaxemulator@12863 39 }