diff options
author | ScrumpyJack <scrumpyjack@st.ilet.to> | 2016-09-08 14:45:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-19 15:02:40 +0000 |
commit | 939f2293148cae0b7718b36267345d3db5182d0f (patch) | |
tree | 9400a42fee7faedceb32ad484d83220b3adf1189 /community/monkey | |
parent | d0e82b4a6b1021929d524ab025078e9670c35833 (diff) | |
download | aports-939f2293148cae0b7718b36267345d3db5182d0f.tar.bz2 aports-939f2293148cae0b7718b36267345d3db5182d0f.tar.xz |
community/monkey: adds TLS support
Adds support for TLS monkey plugin
Diffstat (limited to 'community/monkey')
-rw-r--r-- | community/monkey/APKBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/community/monkey/APKBUILD b/community/monkey/APKBUILD index 08abb842a7..09222c75dc 100644 --- a/community/monkey/APKBUILD +++ b/community/monkey/APKBUILD @@ -15,24 +15,19 @@ install="" subpackages="$pkgname-doc $pkgname-dev" source="http://monkey-project.com/releases/1.6/${pkgname}-${pkgver}.tar.gz" -_builddir="${srcdir}/${pkgname}-${pkgver}" +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 + cd "$builddir" } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --musl-mode \ --no-backtrace \ --malloc-libc \ --mbedtls-shared \ + --enable-plugins=tls \ --default-user=nobody \ --prefix=/usr \ --libdir=/usr/lib \ @@ -45,9 +40,9 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR=$pkgdir install - install -Dm 755 "$_builddir/monkey.init" "$pkgdir/etc/init.d/banana" + install -Dm 755 "$builddir/monkey.init" "$pkgdir/etc/init.d/banana" } md5sums="c401734985a936ee07dbff5eca7d176a monkey-1.6.9.tar.gz" |