wok-6.x annotate tor/receipt @ rev 15601

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:23:08 2013 +0000 (2013-12-05)
parents acdfd2886c4a
children c5d0d245189b
rev   line source
0dddba11@861 1 # SliTaz package receipt.
0dddba11@861 2
0dddba11@861 3 PACKAGE="tor"
pascal@14854 4 VERSION="0.2.3.25"
0dddba11@861 5 CATEGORY="network"
0dddba11@861 6 SHORT_DESC="An anonymizing overlay network for TCP."
0dddba11@861 7 MAINTAINER="0dddba11@googlemail.com"
pascal@15601 8 LICENSE="BSD"
0dddba11@861 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
0dddba11@861 10 WEB_SITE="http://www.torproject.org/"
gokhlayeh@8866 11 WGET_URL="https://www.torproject.org/dist/$TARBALL"
0dddba11@861 12
pankso@10662 13 DEPENDS="libevent libssl"
pankso@10662 14 BUILD_DEPENDS="wget libevent-dev openssl-dev"
erjo@9886 15
0dddba11@861 16 # Rules to configure and make the package.
0dddba11@861 17 compile_rules()
0dddba11@861 18 {
gokhlayeh@8866 19 cd $src
pankso@10662 20 ./configure $CONFIGURE_ARGS --sysconfdir=/etc &&
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
pankso@11654 28 cp -a $install/usr/bin $fs/usr
pankso@11654 29 #cp -a $install/usr/share/tor $fs/usr/share
pankso@11654 30
gokhlayeh@8866 31 # config file.
pankso@11654 32 cp -a $install/etc $fs
gokhlayeh@8866 33 mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
0dddba11@861 34 }
paul@11270 35