diff options
author | 2004-12-16 03:26:53 +0000 | |
---|---|---|
committer | 2004-12-16 03:26:53 +0000 | |
commit | 729c52ad62dd38aae55b2e16a9e6158a7e23877b (patch) | |
tree | e09a5b2bb5d50d851cc43181636224bead785c77 /net-irc/oer-mysql/oer-mysql-1.0.43.ebuild | |
parent | Version bump. (Manifest recommit) (diff) | |
download | gentoo-2-729c52ad62dd38aae55b2e16a9e6158a7e23877b.tar.gz gentoo-2-729c52ad62dd38aae55b2e16a9e6158a7e23877b.tar.bz2 gentoo-2-729c52ad62dd38aae55b2e16a9e6158a7e23877b.zip |
Version bump.
Diffstat (limited to 'net-irc/oer-mysql/oer-mysql-1.0.43.ebuild')
-rw-r--r-- | net-irc/oer-mysql/oer-mysql-1.0.43.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild b/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild new file mode 100644 index 000000000000..295982ae28db --- /dev/null +++ b/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild,v 1.1 2004/12/16 03:26:53 swegener Exp $ + +inherit fixheadtails versionator + +MY_PN="oer+MySQL" + +DESCRIPTION="Free to use GPL'd IRC bot" +HOMEPAGE="http://oer.equnet.org/" +SRC_URI="http://oer.equnet.org/testing/${MY_PN}-$(replace_version_separator 2 -).tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="debug static" + +RDEPEND="virtual/libc + >=dev-db/mysql-3.23.52-r1" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +S=${WORKDIR}/${MY_PN}-dist + +src_unpack() { + unpack ${A} + ht_fix_file ${S}/configure +} + +src_compile() { + econf \ + --with-mysql=/usr \ + $(use_enable debug) \ + $(use_enable static) \ + || die "econf failed" + + sed -i -e "s:-O2:${CFLAGS}:" Makefile + + emake mycrypt || die "emake mycrypt failed" + emake || die "emake failed" + + sed -i \ + -e 's:CRYPT=./mycrypt:CRYPT=/usr/lib/oer/mycrypt:' \ + -e 's:sample-configuration/oer+MySQL.conf:oer+MySQL.conf:' \ + -e 's:$CURRDIR/scripts/:/usr/share/oer/scripts/:' \ + ${S}/pre_install.sh +} + +src_install() { + dobin oer+MySQL || die "dobin failed" + + insinto /usr/share/oer + doins -r scripts || die "doins failed" + exeinto /usr/share/oer + doexe tools/*.pl pre_install.sh || die "doexe failed" + exeinto /usr/lib/oer + doexe mycrypt || die "doexe failed" +} |