blob: a83d0fdd0ff5e9332a49b79bac1bc9c11b34bf44 (
plain)
1 # Description: Device Mapper for LVM
2 # URL: http://sources.redhat.com/dm/
3 # Maintainer: Simon Gloßner, viper at hometux dot de
4 # Packager: Mark Rosenstand, mark at borkware dot net
5
6 name=libdevmapper
7 version=1.02.22
8 release=2
9 source=(ftp://sources.redhat.com/pub/dm/device-mapper.$version.tgz)
10
11 build() {
12 cd device-mapper.$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/lib \
17 --mandir=/usr/man \
18 --enable-pkgconfig \
19 --disable-nls \
20 --with-optimisation="$CFLAGS"
21 make
22 make DESTDIR=$PKG install
23
24 find $PKG -type f -exec chmod u+w {} \;
25
26 ln -s /lib/libdevmapper.so.1.02 $PKG/usr/lib/libdevmapper.so.1.02
27 ln -s /lib/libdevmapper.so.1.02 $PKG/usr/lib/libdevmapper.so
28 }
|