wok-current diff httrack/receipt @ rev 12863

Add httrack.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu May 24 21:11:31 2012 +0000 (2012-05-24)
parents
children aace7f33be08
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/httrack/receipt	Thu May 24 21:11:31 2012 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="httrack"
     1.7 +VERSION="3.45.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="An easy-to-use offline browser utility."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://www.httrack.com/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="http://download.httrack.com/$TARBALL"
    1.14 +
    1.15 +DEPENDS="bash zlib"
    1.16 +BUILD_DEPENDS="zlib-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure $CONFIGURE_ARGS && make -j1 && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/lib/httrack
    1.29 +	cp -a $install/usr/bin $fs/usr
    1.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.31 +	cp -a $install/usr/lib/httrack/*.so* $fs/usr/lib/httrack
    1.32 +	cp -a $install/usr/share $fs/usr
    1.33 +	rm -rf $fs/usr/share/man
    1.34 +	rm -rf $fs/usr/share/doc
    1.35 +}