pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/ruby-mysql28
Module Name: pkgsrc
Committed By: taca
Date: Mon Sep 18 02:36:01 UTC 2017
Added Files:
pkgsrc/databases/ruby-mysql28: DESCR Makefile PLIST distinfo
pkgsrc/databases/ruby-mysql28/patches: patch-extconf.rb
Log Message:
databases/ruby-mysql28: add ruby-mysql28 2.8.2
Add ruby-mysql 2.8.2 as ruby-mysql28 2.8.2 since 2.9 contains some
imconpatible change from 2.8.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/ruby-mysql28/DESCR \
pkgsrc/databases/ruby-mysql28/Makefile \
pkgsrc/databases/ruby-mysql28/PLIST \
pkgsrc/databases/ruby-mysql28/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/ruby-mysql28/patches/patch-extconf.rb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/databases/ruby-mysql28/DESCR
diff -u /dev/null pkgsrc/databases/ruby-mysql28/DESCR:1.1
--- /dev/null Mon Sep 18 02:36:01 2017
+++ pkgsrc/databases/ruby-mysql28/DESCR Mon Sep 18 02:36:01 2017
@@ -0,0 +1,4 @@
+This is the extension library to access a MySQL database from Ruby,
+which provides the same function as C API.
+
+This is mysql-ruby 2.8.x.
Index: pkgsrc/databases/ruby-mysql28/Makefile
diff -u /dev/null pkgsrc/databases/ruby-mysql28/Makefile:1.1
--- /dev/null Mon Sep 18 02:36:01 2017
+++ pkgsrc/databases/ruby-mysql28/Makefile Mon Sep 18 02:36:01 2017
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2017/09/18 02:36:01 taca Exp $
+#
+
+DISTNAME= mysql-ruby-2.8.2
+PKGNAME= ${RUBY_PKGPREFIX}-mysql28-2.8.2
+CATEGORIES= databases ruby
+MASTER_SITES= http://tmtm.org/downloads/mysql/ruby/
+
+MAINTAINER= neumann%s-direktnet.de@localhost
+HOMEPAGE= http://www.tmtm.org/en/mysql/ruby/
+COMMENT= Ruby extension for MySQL
+LICENSE= gnu-gpl-v2 OR ruby-license
+
+USE_RUBY_EXTCONF= yes
+INSTALL_TARGET= site-install
+CONFIGURE_ARGS+= --with-mysql-config
+INSTALLATION_DIRS= ${RUBY_DOC}/mysql ${RUBY_EG}/mysql
+
+DOCS= README.html README_ja.html tommy.css
+
+post-install:
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/mysql
+.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/test.rb ${DESTDIR}${PREFIX}/${RUBY_EG}/mysql
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/ruby-mysql28/PLIST
diff -u /dev/null pkgsrc/databases/ruby-mysql28/PLIST:1.1
--- /dev/null Mon Sep 18 02:36:01 2017
+++ pkgsrc/databases/ruby-mysql28/PLIST Mon Sep 18 02:36:01 2017
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/18 02:36:01 taca Exp $
+${RUBY_VENDORARCHLIB}/mysql.${RUBY_DLEXT}
+${RUBY_DOC}/mysql/README.html
+${RUBY_DOC}/mysql/README_ja.html
+${RUBY_DOC}/mysql/tommy.css
+${RUBY_EG}/mysql/test.rb
Index: pkgsrc/databases/ruby-mysql28/distinfo
diff -u /dev/null pkgsrc/databases/ruby-mysql28/distinfo:1.1
--- /dev/null Mon Sep 18 02:36:01 2017
+++ pkgsrc/databases/ruby-mysql28/distinfo Mon Sep 18 02:36:01 2017
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/09/18 02:36:01 taca Exp $
+
+SHA1 (mysql-ruby-2.8.2.tar.gz) = c20ec0f41f19f11270963d9c9e0d5a2bba27801e
+RMD160 (mysql-ruby-2.8.2.tar.gz) = 0cd9a6071f0878a5ab4b47d9a023066f5ae39955
+SHA512 (mysql-ruby-2.8.2.tar.gz) = f39bba5679031bab2d78bc5cb44bb00e7818c1f94e20af374e7b843ced85981e82f185f7442962728165abf9afa9f4d384e3ff6ca22c32320cf4bfa3af84c0e6
+Size (mysql-ruby-2.8.2.tar.gz) = 32710 bytes
+SHA1 (patch-extconf.rb) = 339b618a3057a3868448f971932b9231fd059404
Index: pkgsrc/databases/ruby-mysql28/patches/patch-extconf.rb
diff -u /dev/null pkgsrc/databases/ruby-mysql28/patches/patch-extconf.rb:1.1
--- /dev/null Mon Sep 18 02:36:01 2017
+++ pkgsrc/databases/ruby-mysql28/patches/patch-extconf.rb Mon Sep 18 02:36:01 2017
@@ -0,0 +1,18 @@
+$NetBSD: patch-extconf.rb,v 1.1 2017/09/18 02:36:01 taca Exp $
+
+Use modern module name.
+
+--- extconf.rb.orig 2009-02-01 08:31:18.000000000 +0000
++++ extconf.rb
+@@ -37,9 +37,9 @@ File.open("conftest.c", "w") do |f|
+ f.puts src
+ end
+ if defined? cpp_command then
+- cpp = Config.expand(cpp_command(''))
++ cpp = RbConfig.expand(cpp_command(''))
+ else
+- cpp = Config.expand sprintf(CPP, $CPPFLAGS, $CFLAGS, '')
++ cpp = RbConfig.expand sprintf(CPP, $CPPFLAGS, $CFLAGS, '')
+ end
+ if /mswin32/ =~ RUBY_PLATFORM && !/-E/.match(cpp)
+ cpp << " -E"
Home |
Main Index |
Thread Index |
Old Index