aboutsummaryrefslogtreecommitdiffstats
path: root/main/thin-provisioning-tools
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-05-16 13:04:06 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-05-16 13:04:22 +0000
commitab98989df46cbd8e37628f3b9394f33ebbc4a53a (patch)
treee2eea2987fad926afc8ace8cf8f4456436fbba9b /main/thin-provisioning-tools
parent6c9498c36b40b091bde3b79c88ddb837e94fc9c5 (diff)
downloadaports-ab98989df46cbd8e37628f3b9394f33ebbc4a53a.tar.bz2
aports-ab98989df46cbd8e37628f3b9394f33ebbc4a53a.tar.xz
main/thin-provisioning-tools: move from testing
Diffstat (limited to 'main/thin-provisioning-tools')
-rw-r--r--main/thin-provisioning-tools/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/main/thin-provisioning-tools/APKBUILD b/main/thin-provisioning-tools/APKBUILD
new file mode 100644
index 0000000000..cf1974c025
--- /dev/null
+++ b/main/thin-provisioning-tools/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=thin-provisioning-tools
+pkgver=0.6.2_rc8
+pkgrel=1
+pkgdesc="A suite of tools for manipulating the metadata of the dm-thin device-mapper target"
+url="https://github.com/jthornber/thin-provisioning-tools"
+arch="all"
+license="GPL3"
+depends="expat boost libaio"
+makedepends="expat-dev boost-dev libaio-dev linux-headers autoconf automake libtool"
+install=""
+subpackages="$pkgname-doc"
+_realpkgver=${pkgver/_/-}
+source="thin-provisioning-tools-${_realpkgver}.tar.gz::https://github.com/jthornber/thin-provisioning-tools/archive/v${_realpkgver}.tar.gz"
+
+builddir="$srcdir"/thin-provisioning-tools-$_realpkgver
+prepare() {
+ default_prepare || return 1
+ update_config_guess || return 1
+}
+
+build() {
+ cd "$builddir"
+ autoreconf || return 1
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --with-optimisation='' \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" \
+ BINDIR="${pkgdir}"/sbin \
+ MANDIR=/usr/share/man \
+ install || return 1
+}
+
+md5sums="69891c5a9edf1ccfac36f97ff38f9bd6 thin-provisioning-tools-0.6.2-rc8.tar.gz"
+sha256sums="b6ce649e1aa6bcc819d421729a41a3d37a67c4eb88b53640793870c6f7e66f0e thin-provisioning-tools-0.6.2-rc8.tar.gz"
+sha512sums="9c956735895de865fdd102245cb8cdee72fc16ebef47105304e581e3d974d044156447d539e8a1093d10bbb5e2396a69910cc5f7d7f76d669144fecffe5c43c3 thin-provisioning-tools-0.6.2-rc8.tar.gz"