summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-06-25 23:58:22 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-06-25 23:58:22 +0000
commitecaed8d340cbfb5d337a640d55a49cfff9bee4ba (patch)
tree916a0cdc454cac8f3e55c9745c70d9c70ff73efe /dev-dotnet
parentStable on amd64 wrt bug 183195 (diff)
downloadgentoo-2-ecaed8d340cbfb5d337a640d55a49cfff9bee4ba.tar.gz
gentoo-2-ecaed8d340cbfb5d337a640d55a49cfff9bee4ba.tar.bz2
gentoo-2-ecaed8d340cbfb5d337a640d55a49cfff9bee4ba.zip
dev-dotnet/mysql-connector-net: mysql-connector-net.pc is now being generated (fixing bug #103856)
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/mysql-connector-net/ChangeLog7
-rw-r--r--dev-dotnet/mysql-connector-net/files/mysql-connector-net.pc.in8
-rw-r--r--dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.4.ebuild9
-rw-r--r--dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.9.ebuild9
4 files changed, 28 insertions, 5 deletions
diff --git a/dev-dotnet/mysql-connector-net/ChangeLog b/dev-dotnet/mysql-connector-net/ChangeLog
index 6edf819b54ea..94a4a8f399da 100644
--- a/dev-dotnet/mysql-connector-net/ChangeLog
+++ b/dev-dotnet/mysql-connector-net/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-dotnet/mysql-connector-net
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mysql-connector-net/ChangeLog,v 1.8 2007/06/25 00:10:09 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mysql-connector-net/ChangeLog,v 1.9 2007/06/25 23:58:22 jurek Exp $
+
+ 25 Jun 2007; Jurek Bartuszek <jurek@gentoo.org>
+ +files/mysql-connector-net.pc.in, mysql-connector-net-1.0.4.ebuild,
+ mysql-connector-net-1.0.9.ebuild:
+ mysql-connector-net.pc is now being generated (fixing bug #103856)
*mysql-connector-net-1.0.9 (25 Jun 2007)
diff --git a/dev-dotnet/mysql-connector-net/files/mysql-connector-net.pc.in b/dev-dotnet/mysql-connector-net/files/mysql-connector-net.pc.in
new file mode 100644
index 000000000000..2e3f15ad7a28
--- /dev/null
+++ b/dev-dotnet/mysql-connector-net/files/mysql-connector-net.pc.in
@@ -0,0 +1,8 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/@LIBDIR@
+
+Name: mysql-connector-net
+Description: mysql-connector-net - MySql ADO.NET connector
+Version: @VERSION@
+Libs: -r:${libdir}/mono/mysql-connector-net/MySql.Data.dll
diff --git a/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.4.ebuild b/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.4.ebuild
index 3ea0915e9f18..721fb52ccdb1 100644
--- a/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.4.ebuild
+++ b/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.4.ebuild,v 1.7 2007/02/03 02:05:16 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.4.ebuild,v 1.8 2007/06/25 23:58:22 jurek Exp $
inherit eutils multilib mono
@@ -36,6 +36,11 @@ src_compile() {
}
src_install() {
+ dodir /usr/$(get_libdir)/pkgconfig
+ sed -e "s:@VERSION@:${PV}:" \
+ -e "s:@LIBDIR@:$(get_libdir):" \
+ ${FILESDIR}/${PN}.pc.in > ${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc
+
# Install dll into the GAC
ebegin "Installing dlls into the GAC"
gacutil -i bin/mono-1.0/release/MySql.Data.dll -root ${D}/usr/$(get_libdir) \
@@ -53,5 +58,5 @@ src_install() {
pkg_postinst() {
elog "Adding the path for this connector in your mod_mono"
elog "configuration may be needed:"
- elog "MonoPath \"/usr/lib/mono/1.0/mysql-connector-net/\""
+ elog "MonoPath \"/usr/$(get_libdir)/mono/mysql-connector-net/\""
}
diff --git a/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.9.ebuild b/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.9.ebuild
index a24e3542ca5b..4581f517212a 100644
--- a/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.9.ebuild
+++ b/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.9.ebuild,v 1.1 2007/06/25 00:10:09 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mysql-connector-net/mysql-connector-net-1.0.9.ebuild,v 1.2 2007/06/25 23:58:22 jurek Exp $
inherit eutils multilib mono
@@ -37,6 +37,11 @@ src_compile() {
}
src_install() {
+ dodir /usr/$(get_libdir)/pkgconfig
+ sed -e "s:@VERSION@:${PV}:" \
+ -e "s:@LIBDIR@:$(get_libdir):" \
+ ${FILESDIR}/${PN}.pc.in > ${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc
+
# Install dll into the GAC
ebegin "Installing dlls into the GAC"
gacutil -i mysqlclient/bin/mono-1.0/release/MySql.Data.dll -root ${D}/usr/$(get_libdir) \
@@ -59,5 +64,5 @@ src_install() {
pkg_postinst() {
elog "Adding the path for this connector in your mod_mono"
elog "configuration may be needed:"
- elog "MonoPath \"/usr/lib/mono/1.0/${PN}/\""
+ elog "MonoPath \"/usr/$(get_libdir)/mono/${PN}/\""
}