wok-6.x annotate httrack/receipt @ rev 14311
Up: libelementary (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:23:40 2013 +0200 (2013-04-07) |
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 } |