Mail archive
alpine-aports

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

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Tue, 22 Mar 2016 12:20:22 +0100

Hi,

A few questions below:

On Sat, 12 Mar 2016 17:39:39 +0100
Steffen Lange <steffen_at_stelas.de> wrote:

> http://www.slrn.org/
> An open source text-based news client
> ---
> testing/slrn/APKBUILD | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 testing/slrn/APKBUILD
>
> diff --git a/testing/slrn/APKBUILD b/testing/slrn/APKBUILD
> new file mode 100644
> index 0000000..d77f41a
> --- /dev/null
> +++ b/testing/slrn/APKBUILD
> _at_@ -0,0 +1,30 @@
> +# Maintainer: Steffen Lange <steffen_at_stelas.de>
> +pkgname=slrn
> +pkgver=1.0.2
> +pkgrel=0
> +pkgdesc="An open source text-based news client"
> +url="http://www.slrn.org/"
> +arch="x86 x86_64"

Is it known to not work on arm?

> +license="GPL"
> +depends_dev="openssl-dev slang-dev"
> +makedepends="$depends_dev"
> +subpackages="$pkgname-doc"
> +source="http://jedsoft.org/releases/slrn/$pkgname-$pkgver.tar.gz"
> +
> +build() {
> + cd "$srcdir/$pkgname-$pkgver"
> + ./configure --prefix=/usr --sysconfdir=/etc \
> + --enable-setgid-code \
> + --with-slrnpull --with-ssl \
> + --enable-spoilers || return 1
> + make -j1 || return 1

why -j1? Is it known to have problems with parallel builds? If so, are
those reported upstream? can we fix those issues?

> +}
> +
> +package() {
> + cd "$srcdir/$pkgname-$pkgver"
> + make -j1 DESTDIR="$pkgdir" install || return 1
> + install -Dm644 doc/slrn.rc "$pkgdir"/etc/slrnrc
> + gzip -9 "$pkgdir"/usr/share/man/man1/*.1

I think abuild should compress manpages for us automatically.

> +}
> +
> +md5sums="cd21aa0f5ec9c2ec1a26e5f1322f6422 slrn-1.0.2.tar.gz"



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 22 2016 - 12:20:22 GMT