Package: mysql-connector-c++7-shlibs Version: 1.1.5 Revision: 1 Maintainer: None License: GPL2 Description: C++ connector for MySQL Source: http://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-%v.tar.gz Source-MD5: 7cdffd0aa6e48035485081cf94521b02 BuildDepends: boost1.55-nopython, cmake, mysql-unified-dev # Boost does not need to be in Depends; only Boost headers are used Depends: mysql-unified-shlibs # mixup of LIB and INCLUDE variable names. But broken by design (we # have multiple -L flags), so pass -D later. PatchFile: %n.patch PatchFile-MD5: d8da07a426c21350952850a9b700cb6e CompileScript: << cmake -DBOOST_ROOT="%p/opt/boost-1_55" -DMYSQL_LIB_DIR="%p/lib/mysql" -DCMAKE_INSTALL_PREFIX="%p" . make << InstallScript: << make install/fast DESTDIR="%d" # hate cmake install_name_tool -id "%p/lib/libmysqlcppconn.7.dylib" %i/lib/libmysqlcppconn.7.dylib # We'll put these in the right place with DocFiles rm %i/{ANNOUNCEMENT,COPYING,INSTALL,Licenses_for_Third-Party_Components.txt,README} << DocFiles: ANNOUNCEMENT CHANGES COPYING Licenses_for_Third-Party_Components.txt README Shlibs: %p/lib/libmysqlcppconn.7.dylib 7.0.0 %n (>= 1.1.5-1) SplitOff: << Package: mysql-connector-c++7 Conflicts: mysql-connector-c++ Replaces: mysql-connector-c++ Depends: %N (= %v-%r) BuildDependsOnly: true Files: << include lib/libmysqlcppconn-static.a lib/libmysqlcppconn.dylib << DocFiles: ANNOUNCEMENT CHANGES COPYING Licenses_for_Third-Party_Components.txt README <<