diff options
author | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:35:18 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:35:18 +0100 |
commit | 61288a7f355ab94e961d5c2ed12b7572192efc53 (patch) | |
tree | c658d1f7a41cd426ca0fbd27b1e810041e5c7688 /base | |
parent | f6adde6983b1c8d7c6ef8f623d9349c1852ec35c (diff) | |
download | nutyx-pakxe-61288a7f355ab94e961d5c2ed12b7572192efc53.tar.gz nutyx-pakxe-61288a7f355ab94e961d5c2ed12b7572192efc53.tar.bz2 nutyx-pakxe-61288a7f355ab94e961d5c2ed12b7572192efc53.tar.xz nutyx-pakxe-61288a7f355ab94e961d5c2ed12b7572192efc53.zip |
libmysql, déplacé dans base
Diffstat (limited to 'base')
-rw-r--r-- | base/libmysql/.footprint | 95 | ||||
-rw-r--r-- | base/libmysql/.md5sum | 1 | ||||
-rw-r--r-- | base/libmysql/Pkgfile | 56 |
3 files changed, 152 insertions, 0 deletions
diff --git a/base/libmysql/.footprint b/base/libmysql/.footprint new file mode 100644 index 000000000..d5ac5917e --- /dev/null +++ b/base/libmysql/.footprint @@ -0,0 +1,95 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mysql_client_test_embedded +-rwxr-xr-x root/root usr/bin/mysql_config +-rwxr-xr-x root/root usr/bin/mysqltest_embedded +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/mysql/ +-rw-r--r-- root/root usr/include/mysql/base64.h +-rw-r--r-- root/root usr/include/mysql/config-netware.h +-rw-r--r-- root/root usr/include/mysql/config-win.h +-rw-r--r-- root/root usr/include/mysql/config.h +-rw-r--r-- root/root usr/include/mysql/decimal.h +-rw-r--r-- root/root usr/include/mysql/errmsg.h +-rw-r--r-- root/root usr/include/mysql/ft_global.h +-rw-r--r-- root/root usr/include/mysql/hash.h +-rw-r--r-- root/root usr/include/mysql/heap.h +-rw-r--r-- root/root usr/include/mysql/help_end.h +-rw-r--r-- root/root usr/include/mysql/help_start.h +-rw-r--r-- root/root usr/include/mysql/keycache.h +-rw-r--r-- root/root usr/include/mysql/m_ctype.h +-rw-r--r-- root/root usr/include/mysql/m_string.h +-rw-r--r-- root/root usr/include/mysql/my_aes.h +-rw-r--r-- root/root usr/include/mysql/my_alarm.h +-rw-r--r-- root/root usr/include/mysql/my_alloc.h +-rw-r--r-- root/root usr/include/mysql/my_atomic.h +-rw-r--r-- root/root usr/include/mysql/my_attribute.h +-rw-r--r-- root/root usr/include/mysql/my_base.h +-rw-r--r-- root/root usr/include/mysql/my_bit.h +-rw-r--r-- root/root usr/include/mysql/my_bitmap.h +-rw-r--r-- root/root usr/include/mysql/my_config.h +-rw-r--r-- root/root usr/include/mysql/my_dbug.h +-rw-r--r-- root/root usr/include/mysql/my_dir.h +-rw-r--r-- root/root usr/include/mysql/my_getopt.h +-rw-r--r-- root/root usr/include/mysql/my_global.h +-rw-r--r-- root/root usr/include/mysql/my_handler.h +-rw-r--r-- root/root usr/include/mysql/my_libwrap.h +-rw-r--r-- root/root usr/include/mysql/my_list.h +-rw-r--r-- root/root usr/include/mysql/my_md5.h +-rw-r--r-- root/root usr/include/mysql/my_net.h +-rw-r--r-- root/root usr/include/mysql/my_no_pthread.h +-rw-r--r-- root/root usr/include/mysql/my_nosys.h +-rw-r--r-- root/root usr/include/mysql/my_pthread.h +-rw-r--r-- root/root usr/include/mysql/my_stacktrace.h +-rw-r--r-- root/root usr/include/mysql/my_sys.h +-rw-r--r-- root/root usr/include/mysql/my_time.h +-rw-r--r-- root/root usr/include/mysql/my_tree.h +-rw-r--r-- root/root usr/include/mysql/my_trie.h +-rw-r--r-- root/root usr/include/mysql/my_uctype.h +-rw-r--r-- root/root usr/include/mysql/my_user.h +-rw-r--r-- root/root usr/include/mysql/my_vle.h +-rw-r--r-- root/root usr/include/mysql/my_xml.h +-rw-r--r-- root/root usr/include/mysql/myisam.h +-rw-r--r-- root/root usr/include/mysql/myisammrg.h +-rw-r--r-- root/root usr/include/mysql/myisampack.h +-rw-r--r-- root/root usr/include/mysql/mysql.h +-rw-r--r-- root/root usr/include/mysql/mysql_com.h +-rw-r--r-- root/root usr/include/mysql/mysql_embed.h +-rw-r--r-- root/root usr/include/mysql/mysql_time.h +-rw-r--r-- root/root usr/include/mysql/mysql_version.h +-rw-r--r-- root/root usr/include/mysql/mysqld_ername.h +-rw-r--r-- root/root usr/include/mysql/mysqld_error.h +-rw-r--r-- root/root usr/include/mysql/mysys_err.h +-rw-r--r-- root/root usr/include/mysql/plugin.h +-rw-r--r-- root/root usr/include/mysql/queues.h +-rw-r--r-- root/root usr/include/mysql/rijndael.h +-rw-r--r-- root/root usr/include/mysql/sha1.h +-rw-r--r-- root/root usr/include/mysql/sql_common.h +-rw-r--r-- root/root usr/include/mysql/sql_state.h +-rw-r--r-- root/root usr/include/mysql/sslopt-case.h +-rw-r--r-- root/root usr/include/mysql/sslopt-longopts.h +-rw-r--r-- root/root usr/include/mysql/sslopt-vars.h +-rw-r--r-- root/root usr/include/mysql/t_ctype.h +-rw-r--r-- root/root usr/include/mysql/thr_alarm.h +-rw-r--r-- root/root usr/include/mysql/thr_lock.h +-rw-r--r-- root/root usr/include/mysql/typelib.h +-rw-r--r-- root/root usr/include/mysql/violite.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libmysqlclient.so -> libmysqlclient.so.16 +lrwxrwxrwx root/root usr/lib/libmysqlclient.so.1 -> libmysqlclient.so.16 +lrwxrwxrwx root/root usr/lib/libmysqlclient.so.16 -> mysql/libmysqlclient.so.16 +lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so -> libmysqlclient_r.so.16 +lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so.1 -> libmysqlclient_r.so.16 +lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so.16 -> mysql/libmysqlclient_r.so.16 +drwxr-xr-x root/root usr/lib/mysql/ +-rw-r--r-- root/root usr/lib/mysql/libmysqlclient.a +-rwxr-xr-x root/root usr/lib/mysql/libmysqlclient.la +lrwxrwxrwx root/root usr/lib/mysql/libmysqlclient.so -> libmysqlclient.so.16.0.0 +lrwxrwxrwx root/root usr/lib/mysql/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0 +-rwxr-xr-x root/root usr/lib/mysql/libmysqlclient.so.16.0.0 +-rw-r--r-- root/root usr/lib/mysql/libmysqlclient_r.a +-rwxr-xr-x root/root usr/lib/mysql/libmysqlclient_r.la +lrwxrwxrwx root/root usr/lib/mysql/libmysqlclient_r.so -> libmysqlclient_r.so.16.0.0 +lrwxrwxrwx root/root usr/lib/mysql/libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0 +-rwxr-xr-x root/root usr/lib/mysql/libmysqlclient_r.so.16.0.0 +-rw-r--r-- root/root usr/lib/mysql/libmysqld.a diff --git a/base/libmysql/.md5sum b/base/libmysql/.md5sum new file mode 100644 index 000000000..c9d4caaee --- /dev/null +++ b/base/libmysql/.md5sum @@ -0,0 +1 @@ +b5d39e8789174753f3c782959729e68c mysql-5.1.41.tar.gz diff --git a/base/libmysql/Pkgfile b/base/libmysql/Pkgfile new file mode 100644 index 000000000..b55be99fa --- /dev/null +++ b/base/libmysql/Pkgfile @@ -0,0 +1,56 @@ +# Description: Librairie de MySQL +# URL: http://www.mysql.com +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=libmysql +version=5.1.41 +release=1 +source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/mysql-$version.tar.gz ) + +build () { + CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing" + CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing" + cd mysql-$version + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/sbin \ + --localstatedir=/srv/mysql \ + --enable-assembler \ + --enable-thread-safe-client \ + --enable-local-infile \ + --with-unix-socket-path=/var/run/mysql/mysql.sock \ + --with-extra-charsets=all \ + --with-berkeley-db \ + --without-debug \ + --without-readline \ + --without-docs \ + --without-bench + for dir in include strings \ + mysys dbug storage regex extra vio sql; do + pushd $dir + make -j2 + popd + done + for dir in libmysql libmysql_r libmysqld; do + pushd $dir + make link_sources + make -j2 + make DESTDIR=$PKG install + popd + done + cd include + make DESTDIR=$PKG install + install -m644 *.h $PKG/usr/include/mysql + cd ../scripts + make mysql_config + install -D -m755 mysql_config $PKG/usr/bin/mysql_config + + ln -sf mysql/libmysqlclient.so.16 $PKG/usr/lib/libmysqlclient.so.16 + ln -sf libmysqlclient.so.16 $PKG/usr/lib/libmysqlclient.so + ln -sf libmysqlclient.so.16 $PKG/usr/lib/libmysqlclient.so.1 + ln -sf mysql/libmysqlclient_r.so.16 $PKG/usr/lib/libmysqlclient_r.so.16 + ln -sf libmysqlclient_r.so.16 $PKG/usr/lib/libmysqlclient_r.so + ln -sf libmysqlclient_r.so.16 $PKG/usr/lib/libmysqlclient_r.so.1 +} |