diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-26 18:53:41 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-27 12:23:42 +0000 |
commit | 7877512ea0f5ed845b3751ed9986dbea289228d8 (patch) | |
tree | 0dd2439d296a06b3f021c5fb32734fb5e55a167e /main/lvm2 | |
parent | 1ede63229bc0cd4ad08b39b6d9906abd0a7337f9 (diff) | |
download | aports-7877512ea0f5ed845b3751ed9986dbea289228d8.tar.bz2 aports-7877512ea0f5ed845b3751ed9986dbea289228d8.tar.xz |
main/lvm2: upgrade to 2.02.74 and change libdir
(cherry picked from commit b4be7e0f89ef63c8913968e79a5538f843da1637)
Diffstat (limited to 'main/lvm2')
-rw-r--r-- | main/lvm2/APKBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/main/lvm2/APKBUILD b/main/lvm2/APKBUILD index e7a510f5aa..f46dad7072 100644 --- a/main/lvm2/APKBUILD +++ b/main/lvm2/APKBUILD @@ -1,12 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lvm2 -pkgver=2.02.73 +pkgver=2.02.74 pkgrel=0 pkgdesc="Logical Volume Manager 2 utilities" url="http://sourceware.org/lvm2/" license="GPL" depends= -makedepends="readline-dev" +makedepends="readline-dev pkgconfig" source="ftp://sources.redhat.com/pub/$pkgname/LVM2.$pkgver.tgz lvm.initd lvm.confd @@ -22,6 +22,7 @@ build () { --sbindir=/sbin \ --localstatedir=/var \ --disable-nls \ + --enable-pkgconfig \ CLDFLAGS="$LDFLAGS" \ || return 1 @@ -32,12 +33,14 @@ build () { package() { cd "$srcdir"/LVM2.$pkgver make -j1 DESTDIR="$pkgdir" \ - usrlibdir="$pkgdir"/lib \ install || return 1 - + #usrlibdir="$pkgdir"/lib \ install -d "$pkgdir"/etc/lvm/archive "$pkgdir"/etc/lvm/backup install -Dm755 "$srcdir"/lvm.initd "$pkgdir"/etc/init.d/lvm install -Dm644 "$srcdir"/lvm.confd "$pkgdir"/etc/conf.d/lvm + # some packages need this iin usr/lib + cd "$pkgdir"/lib || return 1 + ln -s libdevmapper.so.1.02 libdevmapper.so || return 1 } dm() { @@ -47,6 +50,6 @@ dm() { mv "$pkgdir"/sbin/dm* "$subpkgdir"/sbin/ } -md5sums="ef975c33e224b3a2c057313d29718d91 LVM2.2.02.73.tgz +md5sums="3f86b528310183cad73c81c8efda0c34 LVM2.2.02.74.tgz 6f65f902cf19f144a42b8d6aceadf395 lvm.initd ec36d5fe4561220304e406c5c797e71f lvm.confd" |