From ab98989df46cbd8e37628f3b9394f33ebbc4a53a Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 16 May 2017 13:04:06 +0000 Subject: main/thin-provisioning-tools: move from testing --- main/thin-provisioning-tools/APKBUILD | 48 ++++++++++++++++++++++++++++++++ testing/thin-provisioning-tools/APKBUILD | 48 -------------------------------- 2 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 main/thin-provisioning-tools/APKBUILD delete mode 100644 testing/thin-provisioning-tools/APKBUILD 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 +# 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" diff --git a/testing/thin-provisioning-tools/APKBUILD b/testing/thin-provisioning-tools/APKBUILD deleted file mode 100644 index cf1974c025..0000000000 --- a/testing/thin-provisioning-tools/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Carlo Landmeter -# 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" -- cgit v1.2.3