diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-11 20:29:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-11 20:32:56 +0000 |
commit | 620f864c14a5c06628e942d1f59aa7119b8136a7 (patch) | |
tree | a7da3ac852f207fca07160fccaefcb8769665dc7 | |
parent | 618bc7a1c2bdd8b939211b3a62e2aebdf1bf789c (diff) | |
download | aports-620f864c14a5c06628e942d1f59aa7119b8136a7.tar.bz2 aports-620f864c14a5c06628e942d1f59aa7119b8136a7.tar.xz |
testing/shadowsocks-libev: new aport
lightweight secured SOCKS5 proxy
https://shadowsocks.org/en/download/servers.html
-rw-r--r-- | testing/shadowsocks-libev/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/shadowsocks-libev/APKBUILD b/testing/shadowsocks-libev/APKBUILD new file mode 100644 index 0000000000..fe58153f52 --- /dev/null +++ b/testing/shadowsocks-libev/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=shadowsocks-libev +pkgver=2.5.5 +pkgrel=0 +pkgdesc="lightweight secured SOCKS5 proxy" +url="https://shadowsocks.org/en/download/servers.html" +arch="all" +license="GPLv3" +depends="" +depends_dev="" +makedepends="$depends_dev asciidoc autoconf libtool linux-headers + libressl-dev pcre-dev xmlto libev-dev udns-dev libsodium-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="shadowsocks-libev-$pkgver.tar.gz::https://github.com/shadowsocks/shadowsocks-libev/archive/v$pkgver.tar.gz" +builddir="$srcdir/shadowsocks-libev-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-system-shared-lib \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="f4593a1ee28f4f8c5378662e0ab2764b shadowsocks-libev-2.5.5.tar.gz" +sha256sums="46a72367b7301145906185f1e4136e39d6792d27643826e409ab708351b6d0dd shadowsocks-libev-2.5.5.tar.gz" +sha512sums="5ce15288f23bcb566428b6a46fb47375c9c89ace658e32f049208c6dd5ec644d1be6c1d844f5edaf4073be52e846d37b6d78a310f64f50a95811dfbcc0f91188 shadowsocks-libev-2.5.5.tar.gz" |