wok-next annotate httrack/receipt @ rev 12925
gtk-vnc: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 29 22:52:47 2012 +0200 (2012-05-29) |
parents | 48c15e8cdc68 |
children | 2b9f96603415 |
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" |
slaxemulator@12863 | 8 WEB_SITE="http://www.httrack.com/" |
slaxemulator@12863 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@12863 | 10 WGET_URL="http://download.httrack.com/$TARBALL" |
slaxemulator@12863 | 11 |
slaxemulator@12863 | 12 DEPENDS="bash zlib" |
slaxemulator@12863 | 13 BUILD_DEPENDS="zlib-dev" |
slaxemulator@12863 | 14 |
slaxemulator@12863 | 15 # Rules to configure and make the package. |
slaxemulator@12863 | 16 compile_rules() |
slaxemulator@12863 | 17 { |
slaxemulator@12863 | 18 cd $src |
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 } |