summaryrefslogtreecommitdiffstats
path: root/test/mysql/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
commit484880add8dae9ada76769e0b16b9bca6c8b37b3 (patch)
tree4c0940cfdea596c1c1c797e3a753e065558aadee /test/mysql/Pkgfile
parent067c82d499d5bae2258698de65eeb3565664f516 (diff)
downloadnutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.gz
nutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.bz2
nutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.xz
nutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.zip
mysql dans extra
Diffstat (limited to 'test/mysql/Pkgfile')
-rw-r--r--test/mysql/Pkgfile52
1 files changed, 0 insertions, 52 deletions
diff --git a/test/mysql/Pkgfile b/test/mysql/Pkgfile
deleted file mode 100644
index 90350d5db..000000000
--- a/test/mysql/Pkgfile
+++ /dev/null
@@ -1,52 +0,0 @@
-# Description: Serveur de base de données MySQL
-# URL: http://www.mysql.com
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on: mysqlclient
-
-name=mysql
-version=5.1.46
-release=1
-source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/$name-$version.tar.gz \
- mysql.nutyx.patch mysql-5.1-gcc45-apicheck.patch )
-
-build () {
- source /etc/blfs-bootscripts
- wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
- tar xvf $scripts-$scriptsversion.tar.bz2
-# patch -Np0 -i mysql.nutyx.patch
- cd $name-$version
- patch -Np1 -i ../mysql-5.1-gcc45-apicheck.patch
- ./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 \
- --without-debug \
- --without-readline \
- --without-docs \
- --without-bench
- make -j2
- make DESTDIR=$PKG install
- rm -r $PKG/usr/{mysql-test,sql-bench}
- for i in mysql mysql_upgrade \
- mysqladmin mysqlbinlog \
- mysqlcheck mysqldump mysqlimport mysqlshow \
- mysqlslap mysqltest mysql_config
- do rm -r $PKG/usr/bin/$i
- done
- rm $PKG/usr/share/mysql/charsets/README
- mkdir -p $PKG/etc
- install -v -m644 $PKG/usr/share/mysql/my-medium.cnf \
- $PKG/etc/my.cnf
- sed -i -e s/^skip-federated/#skip-federated/ \
- $PKG/etc/my.cnf
- cd ../$scripts-$scriptsversion
- make DESTDIR=$PKG install-mysql
- # Suppression des librairies
- rm -r $PKG/usr/{include,lib}
-}