Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/libcouchbase: new aport

From: Timo Teras <timo.teras_at_iki.fi>
Date: Tue, 19 Jan 2016 12:02:35 +0200

On Sun, 27 Dec 2015 21:56:46 +0000
Grant McLendon <grant.mclendon_at_gmail.com> wrote:

> https://github.com/couchbase/libcouchbase
>
> The couchbase client for C.

Seems that the inline patch is corrupt. Perhaps your email client added
line breaks?

Could you resend? And please use tabs to indent the functions.

Otherwise looks good.

Thanks.


> testing/libcouchbase/APKBUILD | 42
> ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
> create mode 100755 testing/libcouchbase/APKBUILD
>
>
> diff --git a/testing/libcouchbase/APKBUILD
> b/testing/libcouchbase/APKBUILD new file mode 100755
> index 0000000..3c7b6c2
> --- /dev/null
> +++ b/testing/libcouchbase/APKBUILD
> _at_@ -0,0 +1,42 @@
> +# Contributor: Grant McLendon <grant_at_rightsup.com>
> +# Maintainer: Grant McLendon <grant_at_rightsup.com>
> +pkgname=libcouchbase
> +pkgver=2.5.4
> +pkgrel=0
> +pkgdesc="libcouchbase"
> +url="https://github.com/couchbase/libcouchbase"
> +arch="all"
> +license="ASL 2.0"
> +dependes="libstdc++"
> +depends_dev="libev-dev"
> +makedepends="$depends_dev cmake perl"
> +install=""
> +subpackages="$pkgname-doc $pkgname-dev"
> +source="$pkgname-$pkgver.tar.gz::
> https://github.com/couchbase/libcouchbase/archive/$pkgver.tar.gz"
> +
> +_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
> +}
> +
> +build() {
> + cd "$_builddir"
> + ./configure.pl \
> + --prefix=/usr || return 1
> + make || return 1
> +}
> +
> +package() {
> + cd "$_builddir"
> + make DESTDIR="${pkgdir}" install || return 1
> +}
> +md5sums="1f39eae49509c84300e1c325f0efa652 libcouchbase-2.5.4.tar.gz"
> +sha256sums="06c0b25d7cb8ae9cfc52adefaa293d4b8f0dbef870bb64af261b714c1b1cb9fd
> libcouchbase-2.5.4.tar.gz"
> +sha512sums="9b20699ced43e066df95c68228fb34e622f6383a26f7804ee4d88563a49d3d855c240314c61a100a0152ef64eea1a1ec513edc914adbb68ea7dc3f39114f8a62
> libcouchbase-2.5.4.tar.gz"



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Jan 19 2016 - 12:02:35 GMT