2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Device Mapper for LVM
|
|
|
|
|
# URL: http://sources.redhat.com/dm/
|
|
|
|
|
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
|
2007-01-17 21:11:51 +01:00
|
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=libdevmapper
|
2007-07-13 18:18:02 +02:00
|
|
|
|
version=1.02.21
|
2006-02-23 15:26:10 +00:00
|
|
|
|
release=1
|
|
|
|
|
source=(ftp://sources.redhat.com/pub/dm/device-mapper.${version}.tgz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd device-mapper.$version
|
|
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
2007-01-17 21:11:51 +01:00
|
|
|
|
--enable-pkgconfig \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
--disable-nls \
|
2007-01-17 21:11:51 +01:00
|
|
|
|
--with-optimisation="$CFLAGS"
|
2006-02-23 15:26:10 +00:00
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2007-01-17 21:11:51 +01:00
|
|
|
|
|
|
|
|
|
find $PKG -type f -exec chmod u+w {} \;
|
2006-02-23 15:26:10 +00:00
|
|
|
|
}
|