aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtrabackup/APKBUILD
blob: eb015d36f21b37b33181723edc92666c28925b98 (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
31
32
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=xtrabackup
pkgver=2.1.8
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
  utils/build.sh innodb55 || return 1
}

package() {
  cd "$srcdir"/percona-xtrabackup-$pkgver

  install -D innobackupex "$pkgdir"/usr/bin/innobackupex
  install -D src/xtrabackup_55 "$pkgdir"/usr/bin/xtrabackup_55
  install -D src/xbcrypt "$pkgdir"/usr/bin/xbcrypt
  install -D src/xtrabackup_innodb55 "$pkgdir"/usr/bin/xbstream

  ln -s /usr/bin/xtrabackup_55 "$pkgdir"/usr/bin/xtrabackup
}

md5sums="c36df9d65e07b292e1e63372d8a4bdec  percona-xtrabackup-2.1.8.tar.gz"
sha256sums="2a397372aaa42228b48e74b89c41265d0b0c4be815069a86feb855bc8fbf2ffa  percona-xtrabackup-2.1.8.tar.gz"
sha512sums="f2c22575fa789335f08e8d0fab493305864ca6c01ecf7078620f0ac676348287de908304975ba81a66cb91bdf3604b50d65d84ac7073d420feada72d34fc8cd4  percona-xtrabackup-2.1.8.tar.gz"