summaryrefslogtreecommitdiffstats
path: root/core/device-mapper/APKBUILD
blob: 33841375672f08de29a6aa7ec75bda38ec6dd1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=device-mapper
pkgver=1.02.28
pkgrel=0
pkgdesc="Device mapper userspace library and tools."
url="http://sourceware.org/dm/"
license="GPL"
depends="uclibc"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://sources.redhat.com/pub/dm/$pkgname.$pkgver.tgz"

build() {
	cd "$srcdir"/$pkgname.$pkgver

	./configure --prefix=/usr \
		--sbindir=/sbin \
		--libdir=/lib \
		--enable-dmeventd \
		CLDFLAGS="$LDFLAGS" \
		|| return 1

	make || return 1
	make -j1 DESTDIR="$pkgdir" install
}
md5sums="c9ae0776994a419f9e1ba842164bb626  device-mapper.1.02.28.tgz"