diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2011-10-24 03:13:07 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2011-10-24 03:13:07 +0000 |
commit | 0f408d75c967074ab9fc3c02532692d151a03525 (patch) | |
tree | ba25417607d60222adf87b7f955db54fbdf2903c /dev-db | |
parent | Version bumped, bug #388053. (diff) | |
download | gentoo-2-0f408d75c967074ab9fc3c02532692d151a03525.tar.gz gentoo-2-0f408d75c967074ab9fc3c02532692d151a03525.tar.bz2 gentoo-2-0f408d75c967074ab9fc3c02532692d151a03525.zip |
version bump
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/lib_mysqludf_sys/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/lib_mysqludf_sys/lib_mysqludf_sys-0.0.3.ebuild | 59 |
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-db/lib_mysqludf_sys/ChangeLog b/dev-db/lib_mysqludf_sys/ChangeLog index 2ce88f0f0348..ed4e0e880241 100644 --- a/dev-db/lib_mysqludf_sys/ChangeLog +++ b/dev-db/lib_mysqludf_sys/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/lib_mysqludf_sys # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/lib_mysqludf_sys/ChangeLog,v 1.1 2011/10/19 12:28:09 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/lib_mysqludf_sys/ChangeLog,v 1.2 2011/10/24 03:13:07 sbriesen Exp $ + +*lib_mysqludf_sys-0.0.3 (24 Oct 2011) + + 24 Oct 2011; Stefan Briesenick <sbriesen@gentoo.org> + +lib_mysqludf_sys-0.0.3.ebuild: + version bump *lib_mysqludf_sys-0.0.2 (19 Oct 2011) diff --git a/dev-db/lib_mysqludf_sys/lib_mysqludf_sys-0.0.3.ebuild b/dev-db/lib_mysqludf_sys/lib_mysqludf_sys-0.0.3.ebuild new file mode 100644 index 000000000000..2e78fd859f57 --- /dev/null +++ b/dev-db/lib_mysqludf_sys/lib_mysqludf_sys-0.0.3.ebuild @@ -0,0 +1,59 @@ +# 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_sys/lib_mysqludf_sys-0.0.3.ebuild,v 1.1 2011/10/24 03:13:07 sbriesen Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="MySQL UDFs that allows one to interact with the operating system" +HOMEPAGE="http://www.mysqludf.org/lib_mysqludf_sys/" +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() { + # remove precompiled object + rm -f -- ${PN}.so +} + +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 + dohtml ${PN}.html +} + +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 +} |