blob: 834bdd0b7be7f099f610b0b838c3140fe97b6b9c (
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
26
27
28
29
|
# Description: Device mapper userspace library
# URL: http://sourceware.org/lvm2/
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=libdevmapper
version=1.02.59
release=1
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.78.tgz
lvm2-static_build.patch)
build() {
cd LVM2.2.02.78
patch -p1 -i $SRC/lvm2-static_build.patch
./configure --prefix=/usr \
--sbindir=/sbin \
--libdir=/lib \
--datarootdir=/usr \
--with-staticdir=/sbin \
--with-usrlibdir=/usr/lib \
--disable-readline \
--enable-pkgconfig \
--enable-static_link \
--with-{user,group}=root
make device-mapper
make DESTDIR=$PKG install_device-mapper
}
|