wok-6.x annotate tor/receipt @ rev 4662
Up: squid* (3.0STABLE21)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Dec 28 23:47:55 2009 +0100 (2009-12-28) |
parents | 9a3ad6f0607b |
children | 785d1f91a038 |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="tor" |
paul@4599 | 4 VERSION="0.2.2.6-alpha" |
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 DEPENDS="libevent openssl zlib" |
pascal@1486 | 9 BUILD_DEPENDS="libevent-dev openssl-dev zlib-dev libevent-dev libevent" |
0dddba11@861 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
0dddba11@861 | 11 WEB_SITE="http://www.torproject.org/" |
0dddba11@861 | 12 WGET_URL="http://www.torproject.org/dist/$TARBALL" |
0dddba11@861 | 13 |
0dddba11@861 | 14 # Rules to configure and make the package. |
0dddba11@861 | 15 compile_rules() |
0dddba11@861 | 16 { |
0dddba11@861 | 17 cd $src |
0dddba11@861 | 18 ./configure \ |
0dddba11@861 | 19 --prefix=/usr \ |
0dddba11@861 | 20 --sysconfdir=/etc \ |
0dddba11@861 | 21 --mandir=/usr/share/man \ |
pascal@1486 | 22 $CONFIGURE_ARGS && |
pascal@1486 | 23 make && |
0dddba11@861 | 24 make DESTDIR=$PWD/_pkg install |
0dddba11@861 | 25 } |
0dddba11@861 | 26 |
0dddba11@861 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 28 genpkg_rules() |
0dddba11@861 | 29 { |
0dddba11@861 | 30 mkdir -p $fs/usr |
0dddba11@861 | 31 cp -a $_pkg/usr/bin $fs/usr |
0dddba11@861 | 32 |
0dddba11@861 | 33 # config file. |
0dddba11@861 | 34 cp -a $_pkg/etc $fs |
paul@2276 | 35 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc |
0dddba11@861 | 36 } |