diff options
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" |