diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-11 22:10:11 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-11 22:10:11 (GMT) |
commit | 66f87e380321a1d151cf2ab692fa99868bdcc87c (patch) | |
tree | 46ffe878388ecb96a9708fcd5de52c7fad2e8c51 /abs/mv-core/mysql/PKGBUILD | |
parent | 37122424536856aef6c3b427932bee0e2c4dde19 (diff) | |
download | linhes_pkgbuild-66f87e380321a1d151cf2ab692fa99868bdcc87c.zip linhes_pkgbuild-66f87e380321a1d151cf2ab692fa99868bdcc87c.tar.gz linhes_pkgbuild-66f87e380321a1d151cf2ab692fa99868bdcc87c.tar.bz2 |
remove my copy of mysql
Diffstat (limited to 'abs/mv-core/mysql/PKGBUILD')
-rw-r--r-- | abs/mv-core/mysql/PKGBUILD | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/abs/mv-core/mysql/PKGBUILD b/abs/mv-core/mysql/PKGBUILD deleted file mode 100644 index eac4347..0000000 --- a/abs/mv-core/mysql/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -pkgname=mysql -pkgver=5.0.60 -pkgrel=1001 -pkgdesc="A fast SQL database server" -arch=(i686 x86_64) -backup=(etc/my.cnf etc/conf.d/mysqld) -depends=("mysql-clients>=${pkgver}" 'tcp_wrappers') -makedepends=('libtool') -url=('http://www.mysql.com/') -options=('!libtool') -license=('GPL') -source=(http://mirror.provenscaling.com/mysql/enterprise/source/5.0/mysql-${pkgver}.tar.gz - mysql-no-clients.patch - mysqld - my.cnf - mysqld.conf.d) - -build() { - # PIC - cd ${startdir}/src/${pkgname}-${pkgver} - patch -Np1 -i ${startdir}/src/mysql-no-clients.patch || return 1 - ./configure --prefix=/usr --libexecdir=/usr/sbin \ - --without-debug --without-docs --without-bench --without-readline \ - --with-innodb --enable-local-infile --with-openssl \ - --with-charset=latin1 --with-collation=latin1_general_ci \ - --with-extra-charsets=complex --enable-thread-safe-client \ - --with-libwrap --with-berkeley-db - - # fixes - sed -i -e 's/^.*HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE.*$/#define\ HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE/g' include/config.h || return 1 - sed -i -e 's/size_socket/socklen_t/g' sql/mysqld.cc || return 1 - - pushd include || return - make || return 1 - popd - pushd libmysql - make link_sources get_password.lo || return - popd - make || return 1 - make DESTDIR=${startdir}/pkg install - rm -rf ${startdir}/pkg/usr/{mysql-test,sql-bench} - install -D -m644 ../my.cnf ${startdir}/pkg/etc/my.cnf - install -D -m755 ../mysqld ${startdir}/pkg/etc/rc.d/mysqld - install -D -m644 ../mysqld.conf.d ${startdir}/pkg/etc/conf.d/mysqld - rm -f ${startdir}/pkg/usr/bin/mysql_config -} - - |