* [gentoo-commits] gentoo-x86 commit in dev-db/lib_mysqludf_ta: metadata.xml ChangeLog lib_mysqludf_ta-0.1.ebuild
@ 2011-10-19 12:30 Stefan Briesenick (sbriesen)
0 siblings, 0 replies; only message in thread
From: Stefan Briesenick (sbriesen) @ 2011-10-19 12:30 UTC (permalink / raw
To: gentoo-commits
sbriesen 11/10/19 12:30:29
Added: metadata.xml ChangeLog lib_mysqludf_ta-0.1.ebuild
Log:
initial commit
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-db/lib_mysqludf_ta/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_ta/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_ta/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_ta/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_ta/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_ta/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for dev-db/lib_mysqludf_ta
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/lib_mysqludf_ta/ChangeLog,v 1.1 2011/10/19 12:30:29 sbriesen Exp $
*lib_mysqludf_ta-0.1 (19 Oct 2011)
19 Oct 2011; Stefan Briesenick <sbriesen@gentoo.org>
+lib_mysqludf_ta-0.1.ebuild, +metadata.xml:
initial commit
1.1 dev-db/lib_mysqludf_ta/lib_mysqludf_ta-0.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_ta/lib_mysqludf_ta-0.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_ta/lib_mysqludf_ta-0.1.ebuild?rev=1.1&content-type=text/plain
Index: lib_mysqludf_ta-0.1.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_ta/lib_mysqludf_ta-0.1.ebuild,v 1.1 2011/10/19 12:30:29 sbriesen Exp $
EAPI=4
inherit eutils toolchain-funcs autotools
MY_REV="a8e623c" # checkout revision
MY_USR="joaocosta" # user name
MY_P="${MY_USR}-${PN}-${MY_REV}"
DESCRIPTION="MySQL UDFs with technical analysis functions"
HOMEPAGE="http://www.mysqludf.org/lib_mysqludf_ta/"
SRC_URI="https://github.com/${MY_USR}/${PN}/tarball/${MY_REV} -> ${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=virtual/mysql-5.1"
RDEPEND="${DEPEND}"
RESTRICT="test"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
MYSQL_PLUGINDIR="$(mysql_config --plugindir)"
MYSQL_INCLUDE="$(mysql_config --include)"
}
src_prepare() {
# fix Makefile.am
sed -i -e "s|\(-shared\)|\1 -avoid-version|g" Makefile.am
# convert to UTF-8
iconv -f LATIN1 -t UTF-8 < README > README~
mv -f README~ README
edos2unix README
eautoreconf
}
src_compile() {
econf --with-pic --disable-static --libdir="${MYSQL_PLUGINDIR}"
}
src_install() {
emake DESTDIR="${D}" install
dodoc README sampledb.sql
# remove obsolete *.la file
rm -f -- "${D}${MYSQL_PLUGINDIR}"/*.la
}
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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-19 12:30 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:30 [gentoo-commits] gentoo-x86 commit in dev-db/lib_mysqludf_ta: metadata.xml ChangeLog lib_mysqludf_ta-0.1.ebuild 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