mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 04:54:38 +08:00
25 lines
664 B
Bash
25 lines
664 B
Bash
pkgname=thin-provisioning-tools
|
|
pkgver=0.7.5
|
|
pkgrel=1
|
|
pkgdesc="A suite of tools for manipulating the metadata of the dm-thin device-mapper target"
|
|
arch=('x86_64')
|
|
url="https://github.com/jthornber/thin-provisioning-tools"
|
|
license=('GPL3')
|
|
depends=('expat' 'gcc-libs' 'libaio')
|
|
makedepends=('boost')
|
|
source=(https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz)
|
|
sha1sums=('e2441a93736d452e061c15d4811a67ab0ab34486')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
autoconf
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" BINDIR="${pkgdir}"/usr/bin MANDIR=/usr/share/man install
|
|
}
|
|
|