wok-current view tor/receipt @ rev 6266

Fix pixman. Added glib-dev for build depends even though i can build without it. Not building with -j 4.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 14 17:50:39 2010 +0000 (2010-09-14)
parents 785d1f91a038
children ac27d6c017df
line source
1 # SliTaz package receipt.
3 PACKAGE="tor"
4 VERSION="0.2.1.26"
5 CATEGORY="network"
6 SHORT_DESC="An anonymizing overlay network for TCP."
7 MAINTAINER="0dddba11@googlemail.com"
8 DEPENDS="libevent openssl zlib"
9 BUILD_DEPENDS="libevent-dev openssl-dev zlib-dev libevent-dev libevent"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.torproject.org/"
12 WGET_URL="http://www.torproject.org/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
33 # config file.
34 cp -a $_pkg/etc $fs
35 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
36 }