mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/xtrabackup to 8.0.8-1
This commit is contained in:
parent
fdac15d864
commit
e34c6c3b36
1 changed files with 14 additions and 9 deletions
|
@ -5,20 +5,21 @@
|
|||
# - remove dependency on numactl
|
||||
|
||||
pkgname=xtrabackup
|
||||
pkgver=8.0.7
|
||||
#_boost_ver=1.68.0
|
||||
pkgver=8.0.8
|
||||
_boostver=1.70.0
|
||||
pkgrel=1
|
||||
pkgdesc='Non-blocking backup tool for MySQL'
|
||||
arch=('x86_64')
|
||||
url='https://www.percona.com/software/mysql-database/percona-xtrabackup'
|
||||
license=('GPL')
|
||||
depends=('libaio' 'libev' 'libgcrypt' 'curl' 'perl-dbd-mysql' 'boost-libs')
|
||||
makedepends=('cmake' 'python-sphinx' 'zlib' 'vim' 'libedit' 'libevent' 'protobuf' 're2' 'boost')
|
||||
depends=('libaio' 'libev' 'libgcrypt' 'curl' 'perl-dbd-mysql')
|
||||
makedepends=('cmake' 'python-sphinx' 'zlib' 'vim' 'libedit' 'libevent' 'protobuf' 're2')
|
||||
optdepends=('qpress: for compressed backups')
|
||||
source=("https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-${pkgver%.*}-${pkgver##*.}/source/tarball/percona-xtrabackup-$pkgver.tar.gz")
|
||||
# "https://jenkins.percona.com/downloads/boost/boost_${_boost_ver//./_}.tar.gz")
|
||||
source=("https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-${pkgver%.*}-${pkgver##*.}/source/tarball/percona-xtrabackup-$pkgver.tar.gz"
|
||||
"https://dl.bintray.com/boostorg/release/${_boostver}/source/boost_${_boostver//./_}.tar.bz2")
|
||||
|
||||
sha256sums=('a24c691f0a3e73a8acdc809bed9f2bd07f8370d9cfd05cf3e26e189da9f53ce2')
|
||||
sha256sums=('f03f818f307d93afe33b48141c4a9f5bfbbb1bc43a7fe0910b221d7bc8368cfa'
|
||||
'430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778')
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
@ -37,7 +38,7 @@ build() {
|
|||
-DINSTALL_PLUGINDIR="/usr/lib/xtrabackup/plugin" \
|
||||
-DINSTALL_MANDIR="/usr/share/man" \
|
||||
-DINSTALL_STATIC_LIBRARIES=OFF \
|
||||
-DWITH_BOOST=system \
|
||||
-DWITH_BOOST="../boost_${_boostver//./_}" \
|
||||
../percona-xtrabackup-$pkgver
|
||||
make
|
||||
}
|
||||
|
@ -47,5 +48,9 @@ package() {
|
|||
make DESTDIR="$pkgdir" install
|
||||
|
||||
cd "$pkgdir"
|
||||
rm -rf usr/xtrabackup-test usr/lib/xtrabackup/plugin/debug
|
||||
rm -rf usr/xtrabackup-test \
|
||||
usr/lib/xtrabackup/plugin/debug \
|
||||
usr/docs \
|
||||
usr/share/man/man8 \
|
||||
usr/share/man/man1/{c,i,m,l,p,z}*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue