wok-6.x annotate tor/receipt @ rev 10584
rrdtool: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 11:34:48 2011 +0200 (2011-05-26) |
parents | ccfafdfa698d |
children | a307819243f5 |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="tor" |
slaxemulator@8891 | 4 VERSION="0.2.1.30" |
0dddba11@861 | 5 CATEGORY="network" |
0dddba11@861 | 6 SHORT_DESC="An anonymizing overlay network for TCP." |
0dddba11@861 | 7 MAINTAINER="0dddba11@googlemail.com" |
0dddba11@861 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
0dddba11@861 | 9 WEB_SITE="http://www.torproject.org/" |
gokhlayeh@8866 | 10 WGET_URL="https://www.torproject.org/dist/$TARBALL" |
0dddba11@861 | 11 |
erjo@9886 | 12 DEPENDS="libevent libssl zlib" |
erjo@9887 | 13 BUILD_DEPENDS="wget libevent-dev openssl-dev zlib-dev " |
erjo@9886 | 14 |
0dddba11@861 | 15 # Rules to configure and make the package. |
0dddba11@861 | 16 compile_rules() |
0dddba11@861 | 17 { |
gokhlayeh@8866 | 18 cd $src |
slaxemulator@10070 | 19 ./configure --sysconfdir=/etc && |
slaxemulator@10070 | 20 $CONFIGURE_ARGS && |
gokhlayeh@8866 | 21 make && make install |
0dddba11@861 | 22 } |
0dddba11@861 | 23 |
0dddba11@861 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 25 genpkg_rules() |
0dddba11@861 | 26 { |
gokhlayeh@8866 | 27 mkdir -p $fs/usr |
gokhlayeh@8866 | 28 cp -a $_pkg/usr/bin $fs/usr |
0dddba11@861 | 29 |
gokhlayeh@8866 | 30 # config file. |
gokhlayeh@8866 | 31 cp -a $_pkg/etc $fs |
gokhlayeh@8866 | 32 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc |
0dddba11@861 | 33 } |