diff options
Diffstat (limited to 'testing/tor')
-rw-r--r-- | testing/tor/APKBUILD | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/testing/tor/APKBUILD b/testing/tor/APKBUILD index 591e1926f4..116bffdc41 100644 --- a/testing/tor/APKBUILD +++ b/testing/tor/APKBUILD @@ -2,15 +2,15 @@ # Maintainer: Sam Dodrill <shadow.h511@gmail.com> pkgname=tor pkgver=0.2.7.6 -pkgrel=2 +pkgrel=3 pkgdesc="Anonymous network connectivity" url="https://www.torproject.org" arch="all" license="BSD" pkgusers="tor" depends="" -depends_dev="bash libevent-dev openssl-dev ca-certificates" -makedepends="$depends_dev" +depends_dev="" +makedepends="linux-headers bash libevent-dev openssl-dev ca-certificates" install="$pkgname.pre-install" subpackages="$pkgname-doc" source="https://www.torproject.org/dist/$pkgname-$pkgver.tar.gz @@ -18,19 +18,10 @@ source="https://www.torproject.org/dist/$pkgname-$pkgver.tar.gz tor.confd " -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,12 +30,13 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ + --enable-transparent \ || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 mkdir -p "$pkgdir"/var/lib/$pkgname mkdir -p "$pkgdir"/var/log/$pkgname |