aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtrabackup/APKBUILD
blob: 1aa59f4a43a71517d5e36a8dd14506f227909c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=xtrabackup
pkgver=2.1.4
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="9e5da17e7ba07b9f4e421688916a76dc  percona-xtrabackup-2.1.4.tar.gz"
sha256sums="bb0d99915458635d4f852f89412417edb7928755f76ec5a9219e67af8eadada7  percona-xtrabackup-2.1.4.tar.gz"
sha512sums="b416f8d1dff9fe7f068ebeb45e9b76da69bae65754b85245ec799886aeab9af654970eeed4ec3a663674e12c76c7e211db651644c5de4e4b4e5bf674bbce02e3  percona-xtrabackup-2.1.4.tar.gz"