Mail archive
alpine-devel

Re: [alpine-devel] extras/lzo

From: Natanael Copa <natanael.copa_at_gmail.com>
Date: Mon, 23 Feb 2009 14:27:58 +0100

On Fri, 2009-02-20 at 22:31 +0000, Michael Mason wrote:
> Please add.
>

the lzo.install is missing.

>
>
>
>
>
>
> differences
> between files
> attachment
> (0001-lzo-first-add.patch)
>
> From 550a17dc42b6d2c519ce2c138a8de20b1437c2fa Mon Sep 17 00:00:00 2001
> From: ms13sp <ms13sp_at_gmail.com>
> Date: Fri, 20 Feb 2009 22:27:05 +0000
> Subject: [PATCH] lzo first add
>
> ---
> extra/lzo/APKBUILD | 32 ++++++++++++++++++++++++++++++++
> 1 files changed, 32 insertions(+), 0 deletions(-)
> create mode 100644 extra/lzo/APKBUILD
>
> diff --git a/extra/lzo/APKBUILD b/extra/lzo/APKBUILD
> new file mode 100644
> index 0000000..cd88409
> --- /dev/null
> +++ b/extra/lzo/APKBUILD
> _at_@ -0,0 +1,32 @@
> +# Contributor: ms13sp <ms13sp_at_gmail.com>
> +# Maintainer: ms13sp <ms13sp_at_gmail.com>
> +pkgname=lzo
> +pkgver=2.03
> +pkgrel=0
> +pkgdesc="LZO -- a real-time data compression library"
> +url="http://www.oberhumer.com/opensource/lzo"
> +license="GPL"
> +depends=""

i suspect that uclibc is missing un depends.

> +makedepends=""

btw.. the reason that uclibc-dev is not needed in makedepends is that
practically all packages needs it there, together with gcc, make,
binutils and patch. those packages are automatically added to
makedepends. Those will not be added as dependencies for the runtime
package though. There are a few packages that does not depend on uclibc
(uclibc itself for instance) so I prefer to not automatically add uclibc
to depends.

> +install="lzo.install"
> +subpackages=""
> +source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz
> + $install
> + "
> +
> +build() {
> + cd "$srcdir/$pkgname-$pkgver"
> +
> + ./configure --prefix=/usr \
> + --sysconfdir=/etc \
> + --mandir=/usr/share/man \
> + --infodir=/usr/share/info
> + make || return 1
> + make DESTDIR="$pkgdir" install
> +
> + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
> + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
> +}
> +
> +md5sums="0c3d078c2e8ea5a88971089a2f02a726 lzo-2.03.tar.gz
> +b730b3d200f52027868378ad5ee0226b lzo.install"
> --
> 1.6.1.3

Please send a new or additional patch with the missing lzo.install.

Thanks!

-nc



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon Feb 23 2009 - 14:27:58 UTC