diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-18 14:02:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-18 14:22:51 +0000 |
commit | 419bfa74677551eb7258ebb4374f2cbe43ee5dbc (patch) | |
tree | cff73e6ab9676b5d300e457be33ea908ca1be965 | |
parent | 7492d40374a780266b75a3348029df261cd3a853 (diff) | |
download | alpine_aports-419bfa74677551eb7258ebb4374f2cbe43ee5dbc.tar.bz2 alpine_aports-419bfa74677551eb7258ebb4374f2cbe43ee5dbc.tar.xz alpine_aports-419bfa74677551eb7258ebb4374f2cbe43ee5dbc.zip |
main/mysql: build with some plugins
(cherry picked from commit 25da8373a6b4a99f367bd613f5c8fe282bc349a6)
-rw-r--r-- | main/mysql/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/mysql/APKBUILD b/main/mysql/APKBUILD index c5e170a64a..1bf1575f86 100644 --- a/main/mysql/APKBUILD +++ b/main/mysql/APKBUILD | |||
@@ -2,7 +2,7 @@ | |||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
3 | pkgname=mysql | 3 | pkgname=mysql |
4 | pkgver=5.1.43 | 4 | pkgver=5.1.43 |
5 | pkgrel=0 | 5 | pkgrel=1 |
6 | pkgdesc="A fast SQL database server" | 6 | pkgdesc="A fast SQL database server" |
7 | url="http://www.mysql.com/" | 7 | url="http://www.mysql.com/" |
8 | license='GPL' | 8 | license='GPL' |
@@ -26,6 +26,7 @@ build() { | |||
26 | --with-ssl \ | 26 | --with-ssl \ |
27 | --without-debug \ | 27 | --without-debug \ |
28 | --with-unix-socket-path=/var/run/mysqld/mysqld.sock \ | 28 | --with-unix-socket-path=/var/run/mysqld/mysqld.sock \ |
29 | --with-plugins=partition,ftexample,archive,blackhole,federated,heap,innobase,innodb_plugin,ndbcluster \ | ||
29 | --mandir=/usr/share/man \ | 30 | --mandir=/usr/share/man \ |
30 | || return 1 | 31 | || return 1 |
31 | 32 | ||
@@ -44,7 +45,9 @@ package() { | |||
44 | libmysqlclient() { | 45 | libmysqlclient() { |
45 | pkgdesc="MySQL client library" | 46 | pkgdesc="MySQL client library" |
46 | mkdir -p "$subpkgdir"/usr/lib/mysql | 47 | mkdir -p "$subpkgdir"/usr/lib/mysql |
47 | mv "$pkgdir"/usr/lib/mysql/libmysqlclient.so* "$subpkgdir"/usr/lib/mysql | 48 | mv "$pkgdir"/usr/lib/mysql/libmysqlclient.so* \ |
49 | "$pkgdir"/usr/lib/mysql/libmysqlclient_r.so* \ | ||
50 | "$subpkgdir"/usr/lib/mysql | ||
48 | # make symlinks | 51 | # make symlinks |
49 | cd "$subpkgdir"/usr/lib | 52 | cd "$subpkgdir"/usr/lib |
50 | for i in mysql/*; do | 53 | for i in mysql/*; do |