aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xtrabackup/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xtrabackup/APKBUILD')
-rw-r--r--testing/xtrabackup/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/xtrabackup/APKBUILD b/testing/xtrabackup/APKBUILD
new file mode 100644
index 0000000000..d07523ac7a
--- /dev/null
+++ b/testing/xtrabackup/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
+
+pkgname=xtrabackup
+pkgver=2.1.3
+pkgrel=0
+pkgdesc='MySQL non-blocking backup solution for InnoDB and XtraDB data'
+arch=all
+url='http://www.percona.com/software/percona-xtrabackup/'
+license='GPL'
+makedepends='bash bison cmake ncurses-dev libaio-dev libgcrypt-dev
+ py-setuptools py-sphinx zlib-dev'
+source="http://percona.com/redir/downloads/XtraBackup/XtraBackup-$pkgver/source/percona-xtrabackup-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/percona-xtrabackup-$pkgver
+ AUTO_DOWNLOAD=yes utils/build.sh innodb55
+}
+
+package() {
+ cd "$srcdir"/percona-xtrabackup-$pkgver
+
+ install -D innobackupex "$pkgdir"/usr/bin/innobackupex
+ install -D src/xtrabackup_innodb55 "$pkgdir"/usr/bin/xtrabackup
+ install -D src/xbcrypt "$pkgdir"/usr/bin/xbcrypt
+ install -D src/xtrabackup_innodb55 "$pkgdir"/usr/bin/xbstream
+}
+
+md5sums="81fb3465f487d45337d027f3a4e5db68 percona-xtrabackup-2.1.3.tar.gz"
+sha256sums="10c089ac0ad90ac9fc868a36577ba02c6f6b4a488dac716fc4ecb81c107a21d8 percona-xtrabackup-2.1.3.tar.gz"
+sha512sums="cdb523e1719d2621e584888f0a0207104310bd11bded129101c211bf5124b7a96dbf25b911793360de46eaa94ce00369e59eee7b4a57adece8062e9be8f46341 percona-xtrabackup-2.1.3.tar.gz"