Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 248195 Details for
Bug 338211
net-irc/eggdrop-1.6.21 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sample ebuild that doesn't work
eggdrop-1.6.20.ebuild (text/plain), 2.58 KB, created by
John J. Aylward
on 2010-09-20 19:23:37 UTC
(
hide
)
Description:
sample ebuild that doesn't work
Filename:
MIME Type:
Creator:
John J. Aylward
Created:
2010-09-20 19:23:37 UTC
Size:
2.58 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 >EAPI=3 > >inherit eutils > >MY_P="eggdrop${PV}" >PATCHSET_V="1.0" > >DESCRIPTION="An IRC bot extensible with C or Tcl." >HOMEPAGE="http://www.eggheads.org/" >SRC_URI="ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/${MY_P}.tar.bz2 > mirror://gentoo/${P}-patches-${PATCHSET_V}.tar.bz2" >KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86" >LICENSE="GPL-2" >SLOT="0" >IUSE="debug static handlelengthmax mysql postgres ssl vanilla" > >DEPEND="dev-lang/tcl > !vanilla? ( > mysql? ( virtual/mysql ) > postgres? ( dev-db/postgresql-server ) > ssl? ( dev-libs/openssl ) > )" > >S="${WORKDIR}"/${MY_P} > >src_unpack() { > unpack ${A} > cd "${S}" > > if use vanilla > then > elog "Excluding patches, that install additional modules. This effectively" > elog "disables the mysql, postgres and ssl USE flags." > echo > rm -f "${WORKDIR}"/patch/[1-8]*.patch > fi > > EPATCH_SUFFIX="patch" epatch || die "epatch failed" > sed -i -e '/^install-\(bin\|data\):$/s/$/ install-start/' Makefile.in || \ > die "sed Makefile.in failed" >} > >src_configure(){ > use mysql || ( echo mysql ; echo mystats ) >>disabled_modules > use postgres || echo pgstats >>disabled_modules > use static && ( echo rijndael ; echo twofish ) >>disabled_modules > econf $(use_with ssl) \ > $(use handlelengthmax && echo --with-handlen=32) \ > || die "econf failed" > > make config || die "module config failed" >} > > > >src_compile() { > local target="" > > if use static && use debug > then > target="sdebug" > elif use static > then > target="static" > elif use debug > then > target="debug" > fi > > emake ${target} || die "emake ${target} failed" >} > >src_install() { > local a b > # bug #295302 > emake -j1 DEST="${D}"/opt/eggdrop install || die "make install failed" > > for a in doc/* > do > [ -f ${a} ] && dodoc ${a} > done > > cd "${S}"/src/mod > for a in *.mod > do > for b in README UPDATES INSTALL TODO CONTENTS > do > [[ -f ${a}/${b} ]] && newdoc ${a}/${b} ${b}.${a} > done > done > > cd "${S}" > > dodoc text/motd.* > > use vanilla || dodoc \ > src/mod/botnetop.mod/botnetop.conf \ > src/mod/gseen.mod/gseen.conf \ > src/mod/mc_greet.mod/mc_greet.conf \ > src/mod/stats.mod/stats.conf \ > src/mod/away.mod/away.doc \ > src/mod/rcon.mod/matchbot.tcl \ > src/mod/mystats.mod/tools/mystats.{conf,sql} \ > src/mod/pgstats.mod/tools/{pgstats.conf,setup.sql} > > dohtml doc/html/*.html > > dobin "${FILESDIR}"/eggdrop-installer > doman doc/man1/eggdrop.1 >} > >pkg_postinst() { > elog > elog "NOTE: IPV6 support has been dropped by upstream maintainers." > elog "Please run /usr/bin/eggdrop-installer to install your eggdrop bot." > elog >}
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 338211
: 248195