Summary: | gnokii ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lim Swee Tat (RETIRED) <st_lim> |
Component: | New packages | Assignee: | José Alberto Suárez López <bass> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.gnokii.org | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
A tarball of the gnokii ebuild
gnokii-0.4.3.ebuild |
Description
Lim Swee Tat (RETIRED)
2002-08-13 23:10:59 UTC
Created attachment 3059 [details]
A tarball of the gnokii ebuild
The ebuild tarball.
I suggest net-dialup/gnokii
Bass, you have experience with this kinda stuff, right? you know, i love try new experiences :P (expect qt/kde stuff;) is ftp.gnokii.org down? There is a problem with the build. Some how, when doing emerge, I get an error open_wr: /dev/ptmx. But when I do ebuild xx install && ebuild xx qmerge, I don't have this problem at all. Any advice?? and doing "ebuild xx merge"? ebuild xx merge works fine. You need to groupadd gnokii for the ebuild to work ;) Created attachment 4500 [details]
gnokii-0.4.3.ebuild
Updated to add the group
I guess there should be at least these lines somewhere in the ebuild: +IUSE="nls X" +DEPEND="X? ( virtual/x11 x11-libs/gtk+ )" src_compile() { ... + use X && myconf="${myconf} --with-x"' In order to ensure that "--with-x" is provided only if there is X and gtk+. In addition the DESCRIPTION field could be more informative, at least it should indicate that the package is intented to be used with Nokia mobile phones. Something like "Tools and drivers for Nokia mobile phones". But, otherwise it's a great ebuild. Oh, it seems that I never get it right first time, but here are those ebuild lines again: +IUSE="nls X" +DEPEND="X? ( virtual/x11 x11-libs/gtk+ )" src_compile() { local myconf use nls \ && myconf="--enable-nls" \ || myconf="--disable-nls" + use X \ + && myconf="${myconf} --with-x" \ + || myconf="${myconf} --without-x" econf \ --prefix=/usr \ - --with-x --enable-security \ + --enable-security \ ${myconf} || die And because Gentoo is all about optimisation and we're brave enough: - make || die "make failed (myconf=${myconf})" + make CC="gcc ${CFLAGS}" || die "make failed (myconf=${myconf})" Unfortunately we only get "-O2", but that at least there is "-march=xxx". |