wok-next annotate httrack/receipt @ rev 15918

Up: slitaz-boot-scripts (5.4.1) Bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 16 19:43:02 2014 +0100 (2014-02-16)
parents aace7f33be08
children f48456621a9d
rev   line source
slaxemulator@12863 1 # SliTaz package receipt.
slaxemulator@12863 2
slaxemulator@12863 3 PACKAGE="httrack"
pascal@12871 4 VERSION="3.45.4"
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"
slaxemulator@12863 11 WGET_URL="http://download.httrack.com/$TARBALL"
slaxemulator@12863 12
slaxemulator@12863 13 DEPENDS="bash zlib"
slaxemulator@12863 14 BUILD_DEPENDS="zlib-dev"
slaxemulator@12863 15
slaxemulator@12863 16 # Rules to configure and make the package.
slaxemulator@12863 17 compile_rules()
slaxemulator@12863 18 {
slaxemulator@12863 19 cd $src
slaxemulator@12863 20 ./configure $CONFIGURE_ARGS && make -j1 && make install
slaxemulator@12863 21 }
slaxemulator@12863 22
slaxemulator@12863 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@12863 24 genpkg_rules()
slaxemulator@12863 25 {
slaxemulator@12863 26 mkdir -p $fs/usr/lib/httrack
slaxemulator@12863 27 cp -a $install/usr/bin $fs/usr
slaxemulator@12863 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@12863 29 cp -a $install/usr/lib/httrack/*.so* $fs/usr/lib/httrack
slaxemulator@12863 30 cp -a $install/usr/share $fs/usr
slaxemulator@12863 31 rm -rf $fs/usr/share/man
slaxemulator@12863 32 rm -rf $fs/usr/share/doc
slaxemulator@12863 33 }