Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1696 - lzo-1.07.ebuild (new package)
Summary: lzo-1.07.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jon Nelson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-12 12:05 UTC by Bryce Allen
Modified: 2002-04-13 13:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lzo-1.07.ebuild (lzo.tar.gz,849 bytes, text/plain)
2002-04-12 12:06 UTC, Bryce Allen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryce Allen 2002-04-12 12:05:05 UTC
Attached file lzo.tar.gz contains an ebuild for lzo, which is used by the vtun tunneling software 
(ebuild to be uploaded shortly). According to its author, "LZO implements the fastest compression and 
decompression algorithms around". The only dependency (I hope :) is virtual/glibc. I suggest 
dev-libs/lzo. 
 
More info at: http://www.oberhumer.com/opensource/lzo/ 
 
-Bryce
Comment 1 Bryce Allen 2002-04-12 12:06:22 UTC
Created attachment 539 [details]
lzo-1.07.ebuild
Comment 2 Tod M. Neidt (RETIRED) gentoo-dev 2002-04-12 17:07:13 UTC
Hi Bryce!

The ebuild looks good.

Have you tried to confirm the dependencies? I hope doesn't really cut it :)

You can try:

1. Reading the docs, i.e. README, INSTALL, website, etc

2. 'ldd /usr/bin/lzo' to determine shared library dependencies,
 then use 'qpkg -f /usr/lib/<libfoo>' to find out which package the shared
library comes from (if it isn't obvious)

3. Browse the Makefile

This would lessen the load on the developer who is eventually assigned your
ebuild and will expedite its inclusion in the portage tree.
Comment 3 Bryce Allen 2002-04-12 23:11:05 UTC
Tod,  Thanks for the tips.    I have confirmed my hope (rueful grin) that glibc is the only dependency. But in the process, I  found some other issues:    - only static libraries were being built  - the documentation and examples were not installed    I was sloppy, since all I cared about was getting vtun (bug #1697) working. I have fixed these issues, but I get this error when I try to upload a new attachment: "No file was provided, or it was empty". I have included it here instead, hopefully this isn't an inconvenience...  -Bryce   # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Bryce Allen <ballen@mum.edu>  S=${WORKDIR}/${P} DESCRIPTION="An extremely fast compression and decompression library" SRC_URI="http://www.oberhumer.com/opensource/lzo/download/${P}.tar.gz" HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"  DEPEND="virtual/glibc"  src_compile() { 	./configure \ 		--enable-shared \ 		--host=${CHOST} \ 		--prefix=/usr \ 		--infodir=/usr/share/info \ 		--mandir=/usr/share/man || die "./configure failed"  	emake || die }  src_install () { 	make DESTDIR=${D} install || die  	cd ${S} 	dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS doc/LZO*  	docinto examples 	dodoc examples/*.c examples/Makefile } 
Comment 4 Bryce Allen 2002-04-12 23:32:04 UTC
<pre>  
Ugg. Bugzilla hates me tonight (my last post was placed on one line, jumbling it beyond belief). 
 
Sorry for the useless comment, but I need to test the <pre> tag and hopefully repost my last comment  
with decent formatting. 
 
-Bryce  
</pre> 
Comment 5 Bryce Allen 2002-04-12 23:37:49 UTC
Tod,

Thanks for the tips.

I have confirmed my hope (rueful grin) that glibc is the only dependency. But in
the process, I  found some other issues:

- only static libraries were being built 

- the documentation and examples were not installed

I was sloppy, since all I cared about was getting vtun (bug #1697) working. I
have fixed these issues, but I get this error when I try to upload a new
attachment: "No file was
provided, or it was empty". I have included it here instead, hopefully this
isn't an inconvenience...
 
-Bryce 

P.S. I am reposting this with mozilla instead of Konquerer with hopes that it
will not be stripped of newlines....

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bryce Allen <ballen@mum.edu>

S=${WORKDIR}/${P}
DESCRIPTION="An extremely fast compression and decompression library"
SRC_URI="http://www.oberhumer.com/opensource/lzo/download/${P}.tar.gz"
HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"

DEPEND="virtual/glibc"

src_compile() {
	./configure \
		--enable-shared \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"

	emake || die
}

src_install () {
	make DESTDIR=${D} install || die

	cd ${S}	dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS doc/LZO*

	docinto examples
	dodoc examples/*.c examples/Makefile
}
Comment 6 Jon Nelson (RETIRED) 2002-04-13 13:57:10 UTC
I'm closing this bug, because I just finished a cvs commit for an dev-libs/lzo
ebuild.  I used your (Bryce Allen's) ebuild almost verbatim.