diff --git a/srcpkgs/lvm2/template b/srcpkgs/lvm2/template index 6b761c248b5..11efe82e0e2 100644 --- a/srcpkgs/lvm2/template +++ b/srcpkgs/lvm2/template @@ -1,6 +1,6 @@ # Template file for 'lvm2' pkgname=lvm2 -version=2.02.110 +version=2.02.112 revision=1 wrksrc=LVM2.${version} build_style=gnu-configure @@ -9,7 +9,8 @@ configure_args="--disable-selinux --enable-readline --enable-pkgconfig --enable-dmeventd --enable-cmdlib --enable-udev_sync --enable-udev_rules --with-udevdir=/usr/lib/udev/rules.d --with-default-pid-dir=/run --with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm - --with-default-locking-dir=/run/lock/lvm --enable-lvmetad" + --with-default-locking-dir=/run/lock/lvm --enable-lvmetad + $(vopt_if systemd --with-systemdsystemunitdir=/usr/lib/systemd/system)" hostmakedepends="pkg-config" # By using eudev we avoid a cyclic dependency: # device-mapper -> libudev -> cryptsetup -> device-mapper @@ -18,17 +19,13 @@ make_dirs=" /etc/lvm/archive 0755 root root /etc/lvm/backup 0755 root root" conf_files="/etc/lvm/lvm.conf" +build_options="systemd" short_desc="Logical Volume Manager 2 utilities" maintainer="Juan RP " homepage="http://sourceware.org/lvm2/" license="GPL-2, LGPL-2.1" distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz" -checksum=3dad1aa04a71b8420b15f44c53f041001436539d3f8073490c2d0c52f6fecd11 - -build_options="systemd" -if [ "$build_option_systemd" ]; then - configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system" -fi +checksum=495fced8ec1a8b14912359f4eb97299e0b2d2bc0dfc9a50820daf7bbb3ff67e5 post_install() { if [ "$build_option_systemd" ]; then @@ -53,7 +50,6 @@ device-mapper-devel_package() { vmove "usr/lib/libdevmapper*.so" } } - device-mapper_package() { short_desc="Device Mapper userspace library and tools" replaces="lvm2<2.02.95_3" @@ -75,7 +71,6 @@ device-mapper_package() { fi } } - liblvm2app-devel_package() { depends="device-mapper-devel>=${version}_${revision} liblvm2app>=${version}_${revision}" short_desc="LVM2 application library - development files" @@ -85,7 +80,6 @@ liblvm2app-devel_package() { vmove usr/lib/liblvm2app.so } } - liblvm2app_package() { short_desc="LVM2 application library" pkg_install() {