diff options
Diffstat (limited to 'mysqlclient')
-rw-r--r-- | mysqlclient/.footprint.i686 | 19 | ||||
-rw-r--r-- | mysqlclient/.footprint.x86_64 | 19 | ||||
-rw-r--r-- | mysqlclient/.md5sum.i686 | 1 | ||||
-rw-r--r-- | mysqlclient/.md5sum.x86_64 | 1 | ||||
-rw-r--r-- | mysqlclient/Pkgfile | 66 |
5 files changed, 106 insertions, 0 deletions
diff --git a/mysqlclient/.footprint.i686 b/mysqlclient/.footprint.i686 new file mode 100644 index 000000000..ae51e470b --- /dev/null +++ b/mysqlclient/.footprint.i686 @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mysql +-rwxr-xr-x root/root usr/bin/mysqladmin +-rwxr-xr-x root/root usr/bin/mysqlcheck +-rwxr-xr-x root/root usr/bin/mysqldump +-rwxr-xr-x root/root usr/bin/mysqlimport +-rwxr-xr-x root/root usr/bin/mysqlshow +-rwxr-xr-x root/root usr/bin/mysqlslap +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/mysql.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqladmin.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlcheck.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqldump.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlimport.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlshow.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlslap.1.gz diff --git a/mysqlclient/.footprint.x86_64 b/mysqlclient/.footprint.x86_64 new file mode 100644 index 000000000..ae51e470b --- /dev/null +++ b/mysqlclient/.footprint.x86_64 @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mysql +-rwxr-xr-x root/root usr/bin/mysqladmin +-rwxr-xr-x root/root usr/bin/mysqlcheck +-rwxr-xr-x root/root usr/bin/mysqldump +-rwxr-xr-x root/root usr/bin/mysqlimport +-rwxr-xr-x root/root usr/bin/mysqlshow +-rwxr-xr-x root/root usr/bin/mysqlslap +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/mysql.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqladmin.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlcheck.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqldump.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlimport.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlshow.1.gz +-rw-r--r-- root/root usr/share/man/man1/mysqlslap.1.gz diff --git a/mysqlclient/.md5sum.i686 b/mysqlclient/.md5sum.i686 new file mode 100644 index 000000000..7e1d7b964 --- /dev/null +++ b/mysqlclient/.md5sum.i686 @@ -0,0 +1 @@ +a78cf450974e9202bd43674860349b5a mysql-5.5.19.tar.gz diff --git a/mysqlclient/.md5sum.x86_64 b/mysqlclient/.md5sum.x86_64 new file mode 100644 index 000000000..7e1d7b964 --- /dev/null +++ b/mysqlclient/.md5sum.x86_64 @@ -0,0 +1 @@ +a78cf450974e9202bd43674860349b5a mysql-5.5.19.tar.gz diff --git a/mysqlclient/Pkgfile b/mysqlclient/Pkgfile new file mode 100644 index 000000000..3421f5bb3 --- /dev/null +++ b/mysqlclient/Pkgfile @@ -0,0 +1,66 @@ +# Description: Client MySQL +# URL: http://www.mysql.com +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: libmysql +# Run on: libmysql + +name=mysqlclient +version=5.5.19 +release=1 +source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-${version%.*}/mysql-$version.tar.gz ) + +build () { + cd $SRC + mkdir build + cd build + + CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" + CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" + + cmake ../mysql-$version \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc/mysql \ + -DMYSQL_DATADIR=/srv/mysql \ + -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \ + -DINSTALL_INFODIR=share/mysql/docs \ + -DINSTALL_MANDIR=share/man \ + -DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \ + -DINSTALL_SCRIPTDIR=bin \ + -DINSTALL_INCLUDEDIR=include/mysql \ + -DINSTALL_DOCREADMEDIR=share/mysql \ + -DINSTALL_SUPPORTFILESDIR=share/mysql \ + -DINSTALL_MYSQLSHAREDIR=share/mysql \ + -DINSTALL_SHAREDIR=share/mysql \ + -DDEFAULT_CHARSET=utf8 \ + -DDEFAULT_COLLATION=utf8_general_ci \ + -DENABLED_LOCAL_INFILE=ON \ + -DWITH_READLINE=ON \ + -DWITH_ZLIB=system \ + -DWITH_SSL=system \ + -DWITH_LIBWRAP=ON \ + -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \ + -DWITH_EXTRA_CHARSETS=complex \ + -DWITH_EMBEDDED_SERVER=ON \ + -DWITH_INNOBASE_STORAGE_ENGINE=1 \ + -DWITH_PARTITION_STORAGE_ENGINE=1 \ + -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ + -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 \ + -DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 \ + -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 + + make + + cd $SRC/build + make -C client DESTDIR=$PKG install + + # Installe les pages man + install -d $PKG/usr/share/man/man1 + for man in mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow mysqlslap; do + install -m644 ../mysql-$version/man/$man.1 $PKG/usr/share/man/man1/$man.1 + done + + # Fournit par mysql + rm $PKG/usr/bin/{mysql_upgrade,mysqlbinlog,mysqltest,mysql_plugin} +} |