# HG changeset patch # User Tom Frankland <0dddba11@googlemail.com> # Date 1212692778 0 # Node ID 22476fcc0861b5580efcf9ee4d41fb54afa31465 # Parent 6e606489151e0302fe7e15eb861813ee14a822f5 Add tor + libevent + libevent-dev + wpa_supplicant diff -r 6e606489151e -r 22476fcc0861 libevent-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libevent-dev/receipt Thu Jun 05 19:06:18 2008 +0000 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="libevent-dev" +VERSION="1.4.3" +CATEGORY="development" +SHORT_DESC="An event notification library." +MAINTAINER="0dddba11@googlemail.com" +WANTED="libevent" +WEB_SITE="http://www.monkey.org/~provos/libevent/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 6e606489151e -r 22476fcc0861 libevent/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libevent/receipt Thu Jun 05 19:06:18 2008 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libevent" +VERSION="1.4.3" +CATEGORY="system-tools" +SHORT_DESC="An event notification library." +MAINTAINER="0dddba11@googlemail.com" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION-stable.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() +{ + mv $PACKAGE-$VERSION-stable $PACKAGE-$VERSION + 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/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} diff -r 6e606489151e -r 22476fcc0861 tor/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tor/receipt Thu Jun 05 19:06:18 2008 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="tor" +VERSION="0.1.2.19" +CATEGORY="network" +SHORT_DESC="An anonymizing overlay network for TCP." +MAINTAINER="0dddba11@googlemail.com" +DEPENDS="libevent openssl zlib" +BUILD_DEPENDS="libevent-dev 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 \ + --sysconfdir=/etc \ + --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/etc $fs +} diff -r 6e606489151e -r 22476fcc0861 wpa_supplicant/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wpa_supplicant/receipt Thu Jun 05 19:06:18 2008 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="wpa_supplicant" +VERSION="0.5.10" +CATEGORY="utilities" +SHORT_DESC="WPA Supplicant with support for WPA and WPA2" +MAINTAINER="0dddba11@googlemail.com" +DEPENDS="" +BUILD_DEPENDS="openssl-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://hostap.epitest.fi/wpa_supplicant/" +WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + cp -a ./defconfig ./.config + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + mkdir -p $fs/etc + cp -a $src/wpa_cli $fs/usr/bin + cp -a $src/wpa_supplicant $fs/usr/bin + cp -a $src/wpa_supplicant.conf $fs/etc +} +