summaryrefslogtreecommitdiffstats
path: root/extra/libmysql/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-18 19:35:18 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-18 19:35:18 +0100
commit61288a7f355ab94e961d5c2ed12b7572192efc53 (patch)
treec658d1f7a41cd426ca0fbd27b1e810041e5c7688 /extra/libmysql/Pkgfile
parentf6adde6983b1c8d7c6ef8f623d9349c1852ec35c (diff)
downloadnutyx-extra-61288a7f355ab94e961d5c2ed12b7572192efc53.tar.gz
nutyx-extra-61288a7f355ab94e961d5c2ed12b7572192efc53.tar.bz2
nutyx-extra-61288a7f355ab94e961d5c2ed12b7572192efc53.tar.xz
nutyx-extra-61288a7f355ab94e961d5c2ed12b7572192efc53.zip
libmysql, déplacé dans base
Diffstat (limited to 'extra/libmysql/Pkgfile')
-rw-r--r--extra/libmysql/Pkgfile56
1 files changed, 0 insertions, 56 deletions
diff --git a/extra/libmysql/Pkgfile b/extra/libmysql/Pkgfile
deleted file mode 100644
index b9aa6c8d0..000000000
--- a/extra/libmysql/Pkgfile
+++ /dev/null
@@ -1,56 +0,0 @@
-# Description: Librairie de MySQL
-# URL: http://www.mysql.com
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on: glibc
-
-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
-}