Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125776 Details for
Bug 185200
dev-libs/libevent-1.3b version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Working ebuild
libevent-1.3b.ebuild (text/plain), 1.67 KB, created by
Federico Cuello
on 2007-07-23 19:41:46 UTC
(
hide
)
Description:
Working ebuild
Filename:
MIME Type:
Creator:
Federico Cuello
Created:
2007-07-23 19:41:46 UTC
Size:
1.67 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-1.3a.ebuild,v 1.10 2007/03/25 06:53:01 vapier Exp $ > >inherit libtool > >DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" >HOMEPAGE="http://monkey.org/~provos/libevent/" >SRC_URI="http://monkey.org/~provos/${P}.tar.gz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" >IUSE="" > >DEPEND="" >RDEPEND="!dev-libs/9libs" > >pkg_setup() { > prevver=$(best_version ${CATEGORY}/${PN}) >} > >src_unpack() { > unpack ${A} > cd "${S}" > # don't waste time building tests/samples > sed -i \ > -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \ > Makefile.in || die "sed Makefile.in failed" > > elibtoolize >} > >src_test() { > einfo "Building tests" > cd test > make test || die "failed to build tests" > > einfo "Running tests" > ./test.sh > ${T}/tests > cat ${T}/tests > grep FAILED ${T}/tests &>/dev/null && die "1 or more tests failed" >} > >src_install() { > make DESTDIR="${D}" install || die "make install failed" > dodoc README >} > >pkg_postinst() { > local ver="${prevver##*/}" > if [[ -n "${ver}" ]] && [[ ${ver//[a-zA-Z-]} != "${PV//[a-zA-Z]}" ]] ; then > ewarn > ewarn "You will need to run revdep-rebuild (included with app-portage/gentoolkit)" > ewarn "to rebuild all packages that were built with libevent-1.0x." > ewarn > ewarn "Run the following to see which packages will be rebuilt:" > ewarn " revdep-rebuild --library ${ver}.so.1 -p" > ewarn > ewarn "If you are satisfied with the output, re-run without the '-p' to rebuild." > ewarn > fi > unset prevver >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 185200
: 125776