[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: "slitaz@xxxxxxxxxxxxxxxxxxx" <slitaz@xxxxxxxxxxxxxxxxxxx>
- Subject: Tor, libevent receipts
- From: "odd ball" <0dddba11@xxxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 22:36:58 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=lTjkaTZs0tGqa+prwYPuCRLfmGjFiewf5SeIYgxR9H4=; b=CW4U+rGdwlim0vnO7LESbeF0OxJmRL97LEzy/3CsG+O/8D86FeH+pDatrR+JhiEavWJln+2jwUXd3GriRrLXzQrTnm4yvpxRu/qJJyX5d0BU+ooxOAql/r5JggS7WrVagrAgVRoii2luUl6cIb8HHGA3VgI4RQ9/NvaiJ9eI9B8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=BcO9zASpytEAWW7HEvlKGFzqhF9rLqODz9cMi+EhGlSdD/Lts+0+mqJT+wH++Ijh3P6Hr44QgOqEGPADm7ad+urGyV/ptbCm85Kshy3TxZVpHh3r+5eGknZoU5tIF5s0GGgPZ8umAuWUlM1JzXv4lRhJDEA+o3k5VUJsaKAakco=
I've finally managed to write receipts for Tor and Libevent (required by Tor). I'd appreciate it if someone would check them over and then I'd like to start uploading them and the packages.
----------Tor--------------
# SliTaz package receipt.
PACKAGE="tor"
VERSION="0.1.2.19"
CATEGORY="Network"
SHORT_DESC="An anonymizing overlay network for TCP"
MAINTAINER="0dddba11@xxxxxxxxxxxxxx"
DEPENDS="libevent openssl zlib"
BUILD_DEPENDS="libevent openssl-dev zlib-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.torproject.org/"
WGET_URL="http://www.torproject.org/dist/$TARBALL"
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure --prefix=/usr \
--mandir=/usr/share/man $CONFIGURE_ARGS
make
make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr
cp -a $_pkg/usr/bin $fs/usr
# config file.
cp -a $_pkg/usr/etc $fs/
}
---------libevent---------
# SliTaz package receipt.
PACKAGE="libevent"
VERSION="1.4.3-stable"
CATEGORY="Development"
SHORT_DESC="An event notification library"
MAINTAINER="0dddba11@xxxxxxxxxxxxxx"
DEPENDS=""
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.monkey.org/~provos/libevent/"
WGET_URL="http://www.monkey.org/~provos/$TARBALL"
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure --prefix=/usr \
--mandir=/usr/share/man $CONFIGURE_ARGS
make
make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr/include $fs/usr/lib
cp -a $_pkg/usr/lib/* $fs/usr/lib
cp -a $_pkg/usr/include/* $fs/usr/include/
}
Everything works fine for me. I'll start work on Privoxy (nearly essential for Tor). Thanks,
Tom