wok annotate httrack/receipt @ rev 21581
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:23:11 2019 +0200 (2019-05-19) |
parents | 40d66aabe862 |
children | af8d823a3077 |
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 |
slaxemulator@12863 | 16 # Rules to configure and make the package. |
slaxemulator@12863 | 17 compile_rules() |
slaxemulator@12863 | 18 { |
slaxemulator@12863 | 19 ./configure $CONFIGURE_ARGS && make -j1 && make install |
slaxemulator@12863 | 20 } |
slaxemulator@12863 | 21 |
slaxemulator@12863 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@12863 | 23 genpkg_rules() |
slaxemulator@12863 | 24 { |
slaxemulator@12863 | 25 mkdir -p $fs/usr/lib/httrack |
slaxemulator@12863 | 26 cp -a $install/usr/bin $fs/usr |
slaxemulator@12863 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@12863 | 28 cp -a $install/usr/lib/httrack/*.so* $fs/usr/lib/httrack |
slaxemulator@12863 | 29 cp -a $install/usr/share $fs/usr |
slaxemulator@12863 | 30 rm -rf $fs/usr/share/man |
slaxemulator@12863 | 31 rm -rf $fs/usr/share/doc |
slaxemulator@12863 | 32 } |