wok view httrack/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents aace7f33be08
children 40d66aabe862
line source
1 # SliTaz package receipt.
3 PACKAGE="httrack"
4 VERSION="3.45.4"
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://download.httrack.com/$TARBALL"
13 DEPENDS="bash zlib"
14 BUILD_DEPENDS="zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS && make -j1 && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/httrack
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 cp -a $install/usr/lib/httrack/*.so* $fs/usr/lib/httrack
30 cp -a $install/usr/share $fs/usr
31 rm -rf $fs/usr/share/man
32 rm -rf $fs/usr/share/doc
33 }