diff options
author | Matthieu MONNIER <matthieu.monnier@enalean.com> | 2016-10-25 10:56:48 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-04 07:37:40 +0000 |
commit | 3d74bc8d55eceb058678c89be80a75302a060bff (patch) | |
tree | 3e79723f6fc75497846334ee920f03815daf5fb7 /testing/percona-toolkit | |
parent | 52d0786890f8c466941963a6d344f165d137da8c (diff) | |
download | aports-3d74bc8d55eceb058678c89be80a75302a060bff.tar.bz2 aports-3d74bc8d55eceb058678c89be80a75302a060bff.tar.xz |
testing/percona-toolkit: new aport
https://www.percona.com/software/database-tools/percona-toolkit/
Toolkit for MySQL/MariaDB
Diffstat (limited to 'testing/percona-toolkit')
-rw-r--r-- | testing/percona-toolkit/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/percona-toolkit/APKBUILD b/testing/percona-toolkit/APKBUILD new file mode 100644 index 0000000000..0f110d3ea3 --- /dev/null +++ b/testing/percona-toolkit/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Matthieu Monnier <matthieu.monnier@enalean.com> +# Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com> +pkgname=percona-toolkit +pkgver=2.2.19 +pkgrel=0 +pkgdesc="Toolkit for MySQL/MariaDB" +url="https://www.percona.com/software/database-tools/percona-toolkit/" +arch="noarch" +license="GPL2" +depends="perl perl-time-hires perl-dbd-mysql bash" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="https://www.percona.com/downloads/$pkgname/$pkgver/tarball/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="598653ec1412e4c6f9e74d1af62e4bf1 percona-toolkit-2.2.19.tar.gz" +sha256sums="e9f4d4730265813fa7a39ed8799d12ca5775c8e5d6fa27ff48bae11db0f7e671 percona-toolkit-2.2.19.tar.gz" +sha512sums="8da35e2ee4d81465131623e5b423c2c49c0bf0faf01862952dd5ca72c2ffea64fabcaf88dda883e633e23de8ae4a6c75a095a751708bac6a8136fc8daaae2383 percona-toolkit-2.2.19.tar.gz" |