version bump
authorStefan Briesenick <sbriesen@gentoo.org>
Mon, 24 Oct 2011 03:13:07 +0000 (03:13 +0000)
committerStefan Briesenick <sbriesen@gentoo.org>
Mon, 24 Oct 2011 03:13:07 +0000 (03:13 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

dev-db/lib_mysqludf_sys/ChangeLog
dev-db/lib_mysqludf_sys/Manifest
dev-db/lib_mysqludf_sys/lib_mysqludf_sys-0.0.3.ebuild [new file with mode: 0644]

index 2ce88f0f0348ce8f498327fee745038ae1f7579e..ed4e0e880241b1da19ba9b186f79fc6a1eff8c1d 100644 (file)
@@ -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)
 
index 8ba4a1458ca3307704fdc24bdfe3029916e0123e..a27baded2bcdb909e386485dabe691ff8d8045fb 100644 (file)
@@ -2,15 +2,17 @@
 Hash: SHA1
 
 DIST lib_mysqludf_sys_0.0.2.tar.gz 7457 RMD160 c1147ec0100f57e26597a3fe46954d5e4dbc458b SHA1 d5ccc7d549e595282779ab83748dcb7d12dcc523 SHA256 c783a501cc265486ac8dfbf1ffe2cbbfc3c061358eb933ba9bd3718107964217
+DIST lib_mysqludf_sys_0.0.3.tar.gz 9136 RMD160 196774b8d1c2359dac267727fe44d6366d6246b0 SHA1 5f1b9eb447cd5e9ff0d224a206684bb3a898eaa5 SHA256 174f43d1df5372c84d98981031f02a2b9e090954ac473f543bff79f9a87c2c4d
 EBUILD lib_mysqludf_sys-0.0.2.ebuild 1292 RMD160 979852f7b1cb0c33ade69d5a619bf6f3c39d1afb SHA1 f047ee0057aa1a020fbf92c54b30f701a560a285 SHA256 95af62677e5cf8f5317f25a45b008e47de8f75773ceed8fa2a6dbe136aa61337
-MISC ChangeLog 382 RMD160 28342578696e0452b2c997d69771d87840303312 SHA1 a5cbcd88746af7fbcce15d0ed9cf24b77b5738ee SHA256 82c821e279ed8c224148d9a7f0b793a2905af332e1efe7d9fc3c0c633cda8723
+EBUILD lib_mysqludf_sys-0.0.3.ebuild 1292 RMD160 3042cc7fd7288389a40457e04350e0bcd1bbdf8d SHA1 4aa6886eefa836ef9fb0d2c2e46368913b488808 SHA256 882c605b08c0e405782494c430a8a92ea96df874b82edc6cfc26615ec5ebd396
+MISC ChangeLog 526 RMD160 cd93c0ad36cbe072beeeb875655670c0b7af390b SHA1 43d5d04c8843774fb72c19e7c46e07fdd80de934 SHA256 f3b8f025d024f3a2059bc96d7e59d22fe1d21cb50a10f16ae77adaff7b980882
 MISC metadata.xml 260 RMD160 ec3e42bcfecae9e6ec261e08c455086395cb31d7 SHA1 4bd905c3b4ec03f6ff5443d315cc0ee9e6de4441 SHA256 3daf3f2d4dff9acd7d244b31f754164ad4d8a5d0243a4ca117ec9118ff31f98f
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iJwEAQECAAYFAk6ewmIACgkQIaLonLtsQsdGgAQAuuRtMqVEzm4KzNM/csuUo+Jm
-auFtTfWB9HwHYITXtOiS/q5Nus08CrUr5Qorqb5N2FAlh/D0j1Jg0L3wIFrehLBJ
-MQNK65484ToiAWs/CNsBJMzA17T5boFKoNe+3sFpJ4VVUgsHWjCyTMCn/BEk5B8m
-eSimCDEtT5ioEG2QRNg=
-=ki1g
+iJwEAQECAAYFAk6k184ACgkQIaLonLtsQscdmQP9Fwurz1b65Jy+IjBMVQxhh4Oc
+MGXIBNz9hKZASQIAn3T5aRWV0EGcrIugQgB/7Xz3jgiJQWNhJTP5gzpK9eZRET2G
+FzDlHGAF+nCCV/8DHKndjGGywaz+hfweGRqhZt0SlNXd8JuUT3jw9RoCa7QKV26d
+QNJlx/Be3VV+1jn7j3Y=
+=LM8S
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..2e78fd8
--- /dev/null
@@ -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
+}