Summary: | mgeops-psp ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jimmy.Jazz |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | animatrix30, carlo, didier, ebdomino, pauuk |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 111346 | ||
Attachments: |
mgeops-psp ebuild
EventWin.diff mgeops-psp-3.0.7.patch NutConfig.diff SystemService.diff mgeops-psp-3.0.8 ebuild mgeops-psp-3.0.8 patch |
Description
Jimmy.Jazz
2008-07-24 17:22:43 UTC
Created attachment 161281 [details]
mgeops-psp ebuild
Created attachment 161283 [details, diff]
EventWin.diff
Created attachment 161284 [details, diff]
mgeops-psp-3.0.7.patch
Created attachment 161285 [details, diff]
NutConfig.diff
Created attachment 161286 [details, diff]
SystemService.diff
Blocks older bug because of: (In reply to comment #0) > It will replace the older mgeups psp. It is why I have prefered to write a new > bug report for it. Hello, in case mgeops ebuild complains about a missing libupsclient 2.x, you have to apply the following patch to nut-2.2.2.ebuild. In one word, libtoolize the package. After that, everything should be okay. --- /usr/portage/sys-power/nut/nut-2.2.2.ebuild 2008-07-05 18:08:35.000000000 +0200 +++ nut-2.2.2.ebuild 2008-07-24 18:26:02.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-power/nut/nut-2.2.2.ebuild,v 1.5 2008/07/05 15:39:35 mr_bones_ Exp $ -inherit eutils fixheadtails autotools +inherit eutils fixheadtails autotools flag-o-matic libtool MY_P="${P/_/-}" @@ -69,11 +69,15 @@ -i scripts/udev/Makefile.am || die "sed failed" WANT_AUTOCONF=2.5 eautoreconf || die "autoconf failed" + + elibtoolize --portage --shallow --no-uclibc } src_compile() { local myconf + filter-ldflags -Wl,--no-as-needed + if [ -n "${NUT_DRIVERS}" ]; then myconf="${myconf} --with-drivers=${NUT_DRIVERS// /,}" fi @@ -98,7 +102,10 @@ $(use_with cgi cgipath /usr/share/nut/cgi) \ ${myconf} || die "econf failed" - emake || die "compile problem" + sed -i "s/-Wl,--as-needed//" ${S}/clients/Makefile + sed -i "s/-Wl,--as-needed//" ${S}/Makefile + + emake LIBS="-lssl" || die "compile problem" } Created attachment 234189 [details]
mgeops-psp-3.0.8 ebuild
Created attachment 234191 [details, diff]
mgeops-psp-3.0.8 patch
Builded from mgeops-psp-3.0.7.patch, EventWin.diff, NutConfig.diff, SystemService.diff
As has already released a new package version - 3.0.8 I tried to do ebuild and patch files for the new version, using these to version 3.0.7. I do not have much experience in this, but since I have not tried to make changes, these files work for me, so I decided to share them here. http://bugs.gentoo.org/attachment.cgi?id=234189 http://bugs.gentoo.org/attachment.cgi?id=234191 |