diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2009-04-03 23:24:58 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2009-04-03 23:24:58 +0000 |
commit | 4195aa2407085f4db0c5e1f79b063e068dd79a10 (patch) | |
tree | 156bbf5f4474ce9ffc64e7e3b71ac24e566fc51a /extra | |
parent | 81377f881e7765797d0ccd6f3a251fe5237730d1 (diff) | |
download | aports-4195aa2407085f4db0c5e1f79b063e068dd79a10.tar.bz2 aports-4195aa2407085f4db0c5e1f79b063e068dd79a10.tar.xz |
extra/mysql: moved mysql client into its own subpkg
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mysql/APKBUILD | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/extra/mysql/APKBUILD b/extra/mysql/APKBUILD index b828e9c153..15e4fc92b6 100644 --- a/extra/mysql/APKBUILD +++ b/extra/mysql/APKBUILD @@ -1,16 +1,16 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> pkgname=mysql pkgver=5.0.75 -pkgrel=4 +pkgrel=5 pkgdesc="A fast SQL database server" url="http://www.mysql.com/" license='GPL' -depends="readline openssl uclibc++" -makedepends="libtool uclibc++-dev readline-dev openssl-dev" +depends="readline openssl uclibc++ zlib" +makedepends="libtool uclibc++-dev readline-dev openssl-dev ncurses-dev zlib-dev" source="http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-5.0/${pkgname}-${pkgver}.tar.gz $pkgname.initd $pkgname.mycnf" -subpackages="$pkgname-doc $pkgname-dev $pkgname-test libmysqlclient" +subpackages="$pkgname-doc $pkgname-dev $pkgname-test libmysqlclient $pkgname-client" build() { cd "$srcdir/$pkgname-$pkgver" @@ -38,7 +38,7 @@ build() { } libmysqlclient() { - depends="uclibc" + depends="uclibc openssl zlib" mkdir -p "$subpkgdir"/usr/lib/mysql mv "$pkgdir"/usr/lib/mysql/libmysqlclient.so* "$subpkgdir"/usr/lib/mysql } @@ -48,6 +48,21 @@ test() { mv "$pkgdir"/usr/mysql-test "$subpkgdir"/usr/ } +client() { + depends="libmysqlclient ncurses zlib" + install="" + local bins="myisam_ftdump mysql mysqlaccess mysqladmin mysqlbug mysqlcheck + mysql_client_test mysqldump mysqldumpslow mysql_explain_log mysql_find_rows + mysql_fix_extensions mysqlimport mysqlshow mysql_tableinfo mysqltestmanagerc + mysqltestmanager-pwgen mysql_waitpid" + + mkdir -p $subpkgdir/usr/bin/ + + for i in $bins; do + mv $pkgdir/usr/bin/${i} $subpkgdir/usr/bin/ + done +} + md5sums="a234f0a60a7f8c290d9875cba3a2c5a2 mysql-5.0.75.tar.gz 3ce9827b22d8fbbb29d83a91cbe98ffc mysql.initd 15a7e3ddd6a40bf5a1eb3a8c69d9c34c mysql.mycnf" |