X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by lists.alpinelinux.org (Postfix) with ESMTP id 1658C5C435B for ; Tue, 25 Oct 2016 08:57:33 +0000 (GMT) Received: by mail-wm0-f52.google.com with SMTP id d128so1794224wmf.1 for ; Tue, 25 Oct 2016 01:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enalean-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Vuy5iFwy34No7u8wNz8aOjc0Rlqm9wGltK0v7XDsQG8=; b=dd9rZ7GTBp/DVDnQOXiWtMmkxXrkLOI0hPAUlrq9ya+JT6v1Z/T/I03p5TxMZ9//77 vpFnSrWwI/GEdpew+6j/ro8HhC8BjHFqjVWEt8QtGPC6D8ha4QED2YWX7opM5wNvwV3p pQHRsIZoiloXm8srDN8O2ePHFAP7Oee+7rE9bFWXm8bGXEu7B6sHwmreMWFer5jkRckc MInDXikUfu5lC/SqBwNiIlkv/8RbbmKWGxPYlAfo9Evwspm10X9lSK4DlzSQsXElk6p/ zGxOJj+q6UZL2Yfr1RiuLZY8anRJ58ZGK9EUFdwj0bTodS6g5wXyy0brjxD51aCQVoSS xOYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Vuy5iFwy34No7u8wNz8aOjc0Rlqm9wGltK0v7XDsQG8=; b=Y/Uuu6Fb+Yf21TptjOEodzQaaIX8VnGQTTWC6pjSAwle9NenWGes1LcGQyOPoiL/Ck g8e2vyccnP6YyjoiuwnmavmKYmPdhOmIAbhj6vwKI19aV38D/JF0kujeUmaCJKDqMp1c lbaq1m0zWdvNfBLks/WI1KTuhoXTSrZ2yuHBMNL4ruoDTygjGZeF4UcgJxTfeSeiNN9b sswf9SEZQYHYhcHHtlHdaflErgM/C6sQ2nOrnKY39Gf0EZuZUhXNuWu8vjylIJOnPX+G 4VsPx8ASoQ5okTikvgtNcR2cMzyXOXG3ETO6Kuac1NWIGOwZHcvYLTacdUFFtLPDz5/A zquQ== X-Gm-Message-State: ABUngveLkOpfM5XQNO2yPv4RDPVdGG6iHnkOgi9MwtmFBMKeYqbThK5LrqPBGfg5trJozMxk X-Received: by 10.28.197.69 with SMTP id v66mr1877646wmf.7.1477385853017; Tue, 25 Oct 2016 01:57:33 -0700 (PDT) Received: from work.lan (83-135-190-109.isp.overthebox.ovh. [109.190.135.83]) by smtp.gmail.com with ESMTPSA id 18sm2424658wmr.6.2016.10.25.01.57.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 01:57:32 -0700 (PDT) From: Matthieu Monnier To: alpine-aports@lists.alpinelinux.org Cc: Matthieu Monnier Subject: [alpine-aports] [PATCH] testing/percona-toolkit: new aport Date: Tue, 25 Oct 2016 10:56:48 +0200 Message-Id: <20161025085648.9764-1-matthieu.monnier@enalean.com> X-Mailer: git-send-email 2.8.3 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://www.percona.com/software/database-tools/percona-toolkit/ Toolkit for MySQL/MariaDB --- testing/percona-toolkit/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/percona-toolkit/APKBUILD diff --git a/testing/percona-toolkit/APKBUILD b/testing/percona-toolkit/APKBUILD new file mode 100644 index 0000000..0f110d3 --- /dev/null +++ b/testing/percona-toolkit/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Matthieu Monnier +# Maintainer: Matthieu Monnier +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" -- 2.8.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---