[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [emerge] portage/win32libs/mysql: add mysql build - hopefully works on gcc too
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2015-09-23 10:30:18
Message-ID: E1ZehJa-0000Qe-PM () scm ! kde ! org
[Download RAW message or body]

Git commit 8f10c0ac170b15dcbd6a74b546d379006a763fa6 by Patrick Spendrin.
Committed on 23/09/2015 at 10:30.
Pushed by sengels into branch 'master'.

add mysql build - hopefully works on gcc too

A  +28   -0    portage/win32libs/mysql/mysql.py

http://commits.kde.org/emerge/8f10c0ac170b15dcbd6a74b546d379006a763fa6

diff --git a/portage/win32libs/mysql/mysql.py b/portage/win32libs/mysql/mysql.py
new file mode 100644
index 0000000..7434110
--- /dev/null
+++ b/portage/win32libs/mysql/mysql.py
@@ -0,0 +1,28 @@
+import info
+from Package.CMakePackageBase import *
+
+
+class subinfo(info.infoclass):
+    def setDependencies( self ):
+        self.buildDependencies['virtual/base'] = 'default'
+        self.buildDependencies['dev-util/perl'] = 'default'
+        self.buildDependencies['gnuwin32/bison'] = 'default'
+
+    def setTargets( self ):
+        for ver in ['5.6.26']:
+            self.targets[ ver ] = 'http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-' \
+ ver + '.tar.gz' +            self.targetInstSrc[ ver ] = 'mysql-' + ver
+        self.patchToApply['5.6.26'] = [("mysql-5.6.26-20150923.diff", 1)]
+        self.targetDigests['5.6.26'] = '1f266a2782e13d4f5a2614d91ed5861e524c9467'
+        self.shortDescription = "mysql"
+        self.defaultTarget = '5.6.26'
+
+class Package(CMakePackageBase):
+    def __init__( self, **args ):
+        CMakePackageBase.__init__( self )
+        # both examples and tests can be run here
+        self.subinfo.options.configure.defines = "-DWITH_UNIT_TESTS=OFF"
+        #self.subinfo.options.configure.testDefine = "-DBUILD_tests=ON  \
-DBUILD_examples=ON" +        #self.subinfo.options.configure.toolsDefine = \
"-DBUILD_tools=ON" # available only from 2.1.0-beta3 +        \
#self.subinfo.options.configure.staticDefine = "-DBUILD_shared=OFF" # available only \
from 2.1.0-beta3 +


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic