Summary: | lzo-1.07.ebuild (new package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bryce Allen <ballen> |
Component: | New packages | Assignee: | Jon Nelson (RETIRED) <jnelson> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | ballen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | lzo-1.07.ebuild |
Description
Bryce Allen
2002-04-12 12:05:05 UTC
Created attachment 539 [details]
lzo-1.07.ebuild
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. 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 } <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> 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 } 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. |