public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-db/lib_mysqludf_log: lib_mysqludf_log-0.0.2.ebuild metadata.xml ChangeLog
@ 2011-10-19 12:15 Stefan Briesenick (sbriesen)
  0 siblings, 0 replies; only message in thread
From: Stefan Briesenick (sbriesen) @ 2011-10-19 12:15 UTC (permalink / raw
  To: gentoo-commits

sbriesen    11/10/19 12:15:36

  Added:                lib_mysqludf_log-0.0.2.ebuild metadata.xml
                        ChangeLog
  Log:
  initial commit
  
  (Portage version: 2.2.0_alpha67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-db/lib_mysqludf_log/lib_mysqludf_log-0.0.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/lib_mysqludf_log-0.0.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/lib_mysqludf_log-0.0.2.ebuild?rev=1.1&content-type=text/plain

Index: lib_mysqludf_log-0.0.2.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/lib_mysqludf_log/lib_mysqludf_log-0.0.2.ebuild,v 1.1 2011/10/19 12:15:36 sbriesen Exp $

EAPI=4

inherit eutils toolchain-funcs

DESCRIPTION="MySQL UDF to write to log files"
HOMEPAGE="http://www.mysqludf.org/lib_mysqludf_log/"
SRC_URI="http://www.mysqludf.org/${PN}/${PN}_${PV}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=virtual/mysql-5.1"
RDEPEND="${DEPEND}"

S="${WORKDIR}"

# compile helper
_compile() {
	local CC="$(tc-getCC)"
	echo "${CC} ${@}" && "${CC}" "${@}"
}

pkg_setup() {
	MYSQL_PLUGINDIR="$(mysql_config --plugindir)"
	MYSQL_INCLUDE="$(mysql_config --include)"
}

src_prepare() {
	epatch "${FILESDIR}/${PN}-warnings.patch"
}

src_compile() {
	_compile ${CFLAGS} -Wall -fPIC ${MYSQL_INCLUDE} \
		-shared ${LDFLAGS} -o ${PN}.so ${PN}.c
}

src_install() {
	exeinto "${MYSQL_PLUGINDIR}"
	doexe ${PN}.so
	dodoc ${PN}.sql
}

pkg_postinst() {
	elog
	elog "Please have a look at the documentation, how to"
	elog "enable/disable the UDF functions of ${PN}."
	elog
	elog "The documentation is located here:"
	elog "/usr/share/doc/${PF}"
	elog
}



1.1                  dev-db/lib_mysqludf_log/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<herd>no-herd</herd>
	<maintainer>
		<email>sbriesen@gentoo.org</email>
		<name>Stefan Briesenick</name>
	</maintainer>
</pkgmetadata>



1.1                  dev-db/lib_mysqludf_log/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-db/lib_mysqludf_log
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/lib_mysqludf_log/ChangeLog,v 1.1 2011/10/19 12:15:36 sbriesen Exp $

*lib_mysqludf_log-0.0.2 (19 Oct 2011)

  19 Oct 2011; Stefan Briesenick <sbriesen@gentoo.org>
  +lib_mysqludf_log-0.0.2.ebuild, +files/lib_mysqludf_log-warnings.patch,
  +metadata.xml:
  initial commit







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-19 12:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 12:15 [gentoo-commits] gentoo-x86 commit in dev-db/lib_mysqludf_log: lib_mysqludf_log-0.0.2.ebuild metadata.xml ChangeLog Stefan Briesenick (sbriesen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox