summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authoragc <agc>2001-04-04 12:58:43 +0000
committeragc <agc>2001-04-04 12:58:43 +0000
commit5686aa98fe7cf58e6e13a5197a0c21cb94c6d01c (patch)
treef1fb81c6e1537a04542bcbb2bac8bcccbff1d117 /databases
parentf49ac67c56b159df38b97637f76828d79433ee7b (diff)
downloadpkgsrc-5686aa98fe7cf58e6e13a5197a0c21cb94c6d01c.tar.gz
Initial import of myodbc, an ODBC driver for mysql, into the packages
collection.
Diffstat (limited to 'databases')
-rw-r--r--databases/myodbc/Makefile28
-rw-r--r--databases/myodbc/files/md53
-rw-r--r--databases/myodbc/pkg/DESCR1
-rw-r--r--databases/myodbc/pkg/PLIST5
4 files changed, 37 insertions, 0 deletions
diff --git a/databases/myodbc/Makefile b/databases/myodbc/Makefile
new file mode 100644
index 00000000000..7cdced3f37d
--- /dev/null
+++ b/databases/myodbc/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/04 12:58:43 agc Exp $
+#
+
+DISTNAME= MyODBC-2.50.36
+PKGNAME= myodbc-2.50.36
+CATEGORIES= databases
+MASTER_SITES= http://www.mysql.com/Downloads/MyODBC/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.mysql.com/
+COMMENT= ODBC driver (server side) for MySQL
+
+DEPENDS+= mysql-client>=3.23.35:../../databases/mysql-client
+DEPENDS+= iodbc-*:../../databases/iodbc
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --with-mysql-libs=${LOCALBASE}/lib/mysql
+CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql
+CONFIGURE_ARGS+= --with-iodbc=${LOCALBASE}
+CONFIGURE_ARGS+= --with-odbc-ini=${LOCALBASE}/etc/odbc.ini
+
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+USE_GMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/myodbc/files/md5 b/databases/myodbc/files/md5
new file mode 100644
index 00000000000..0e8c1952e19
--- /dev/null
+++ b/databases/myodbc/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/04 12:58:43 agc Exp $
+
+SHA1 (MyODBC-2.50.36.tar.gz) = 86c5d94c1099b8dac67246151824eb3f7c19b93a
diff --git a/databases/myodbc/pkg/DESCR b/databases/myodbc/pkg/DESCR
new file mode 100644
index 00000000000..fa1cfaece1e
--- /dev/null
+++ b/databases/myodbc/pkg/DESCR
@@ -0,0 +1 @@
+An Open Database Connectivity driver for MySQL.
diff --git a/databases/myodbc/pkg/PLIST b/databases/myodbc/pkg/PLIST
new file mode 100644
index 00000000000..bdc8a0d6289
--- /dev/null
+++ b/databases/myodbc/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/04 12:58:43 agc Exp $
+lib/libmyodbc-2.50.36.so
+lib/libmyodbc.so
+lib/libmyodbc.la
+lib/libmyodbc.a