wok-next annotate httrack/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 2b9f96603415
children d5aab818505e
rev   line source
al@21017 1 # SliTaz package receipt v2.
slaxemulator@12863 2
slaxemulator@12863 3 PACKAGE="httrack"
pascal@12871 4 VERSION="3.45.4"
slaxemulator@12863 5 CATEGORY="system-tools"
al@21017 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/"
al@21017 10
slaxemulator@12863 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@12863 12 WGET_URL="http://download.httrack.com/$TARBALL"
slaxemulator@12863 13
slaxemulator@12863 14 BUILD_DEPENDS="zlib-dev"
slaxemulator@12863 15
al@21017 16 compile_rules() {
al@21017 17 ./configure $CONFIGURE_ARGS &&
al@21017 18 make -j1 &&
al@21017 19 make install
slaxemulator@12863 20 }
slaxemulator@12863 21
al@21017 22 genpkg_rules() {
slaxemulator@12863 23 mkdir -p $fs/usr/lib/httrack
slaxemulator@12863 24 cp -a $install/usr/bin $fs/usr
slaxemulator@12863 25 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@12863 26 cp -a $install/usr/lib/httrack/*.so* $fs/usr/lib/httrack
slaxemulator@12863 27 cp -a $install/usr/share $fs/usr
slaxemulator@12863 28 rm -rf $fs/usr/share/man
slaxemulator@12863 29 rm -rf $fs/usr/share/doc
al@21017 30 DEPENDS="bash zlib"
slaxemulator@12863 31 }