diff options
Diffstat (limited to 'community/monkey/APKBUILD')
-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" |