| Summary: | nikibot-0.8.ebuild (New Package) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jan-David Quesel <jdq> |
| Component: | New packages | Assignee: | Packages in net-irc <net-irc> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| URL: | http://www.student.uni-oldenburg.de/jan.d.quesel/nikibot-0.8.ebuild | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
nikibot-0.8.ebuild
nikibot 0.8 ebuild... changed after comments... |
||
|
Description
Jan-David Quesel
2004-07-19 09:13:57 UTC
Created attachment 35750 [details]
nikibot-0.8.ebuild
Some comments to your ebuild:
- nikibot-${PV} is equivalent to ${P} if package is named nikibot
- Initial KEYWORDS should be marked ~
- The dependency should be >=dev-lang/lua-5 otherwise we'll lock users
to dev-lang/lua-5.0
- The ./configure part should be replaced with econf. And if src_compile only
contains econf and emake without arguments, src_compile can be left out.
- src_install can be made with "make DESTDIR=${D} install", which is preferred
over setting the prefix.
- On my system I need nikibot linked against libdl because of unresolved
symbols in liblua.
As you're the maintainer of nikibot, some comments to your package. You're forcing debug mode. The user has no possibilty of turning it off, besides
editing the include file. You should probably move it into the configure
script and make it default to off. As mentioned above, on my system I need
nikibot linked against libdl because of unresolved symbols in liblua.
"pkg-config --libs lua" says "-llua -llualib -ldl -lm" are needed. And you're
adding the libs to CXXFLAGS, CXXFLAGS is normally only used for compiling.
The libs should be added to nikibot_LDADD or LIBS.
Thanks for the feedback. I have turned off debug mode. Its nice that you have found out which libs are missing, when compiling against >lua-5.0. I added them to the Makefile.in and Makefile.am also i moved the libincludes to nikibot_LDADD. Also i changed the ebuild based on what you mentioned about it. Created attachment 35937 [details]
nikibot 0.8 ebuild... changed after comments...
Commited to CVS. Some small changes: - I changed SRC_URI to the sourceforge site - Added RESTRICT="nomirror" as sourceforge has a good mirror network - Added IUSE="" - I had to touch src/Makefile.in in src_unpack because it's newer than src/Makefile.am and we want to avoid running automake at compile time |