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

sbriesen    11/10/19 11:59:44

  Added:                metadata.xml ChangeLog
                        mysql-udf-base64-20010618.ebuild
  Log:
  initial commit
  
  (Portage version: 2.2.0_alpha67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-db/mysql-udf-base64/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-udf-base64/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-udf-base64/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/mysql-udf-base64/ChangeLog

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

Index: ChangeLog
===================================================================
# ChangeLog for dev-db/mysql-udf-base64
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-udf-base64/ChangeLog,v 1.1 2011/10/19 11:59:44 sbriesen Exp $

*mysql-udf-base64-20010618 (19 Oct 2011)

  19 Oct 2011; Stefan Briesenick <sbriesen@gentoo.org>
  +files/mysql-udf-base64-signedness.patch, +mysql-udf-base64-20010618.ebuild,
  +files/mysql-udf-base64.sql, +metadata.xml:
  initial commit




1.1                  dev-db/mysql-udf-base64/mysql-udf-base64-20010618.ebuild

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

Index: mysql-udf-base64-20010618.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-udf-base64/mysql-udf-base64-20010618.ebuild,v 1.1 2011/10/19 11:59:44 sbriesen Exp $

EAPI=4

inherit eutils toolchain-funcs

MY_PN="${PN//-/_}"

DESCRIPTION="MySQL UDFs that provide base64 encode/decode"
HOMEPAGE="http://mirrors.sohu.com/mysql/Contrib/Old-Versions/"
SRC_URI="http://mirrors.sohu.com/mysql/Contrib/Old-Versions/${PN}.c -> ${P}.c
	http://mirrors.sohu.com/mysql/Contrib/Old-Versions/${PN}.readme -> ${P}.readme"

LICENSE="PHP-2.02"
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_unpack() {
	cp -f "${DISTDIR}/${P}.c"      "${S}/${PN}.c"
	cp -f "${DISTDIR}/${P}.readme" "${S}/${PN}.readme"
}

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

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

src_install() {
	exeinto "${MYSQL_PLUGINDIR}"
	doexe ${MY_PN}.so
	newdoc ${PN}.readme README
	newdoc ${FILESDIR}/${PN}.sql ${MY_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
}






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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 11:59 [gentoo-commits] gentoo-x86 commit in dev-db/mysql-udf-base64: metadata.xml ChangeLog mysql-udf-base64-20010618.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