device-mapper-devel: fix libdevmapper.so symlink, bumprev.
--HG-- extra : convert_revision : d875b8af77cb0146c60072f5894f30e3c305c949
This commit is contained in:
parent
86258dc940
commit
aa7ed5e4a2
2 changed files with 6 additions and 1 deletions
|
@ -5,6 +5,8 @@ long_desc="
|
|||
This package contains the development files for the kernel device-mapper
|
||||
library, libdevmapper."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run readline-devel
|
||||
Add_dependency run ncurses-devel
|
||||
|
@ -13,7 +15,7 @@ Add_dependency run device-mapper
|
|||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/lib/lib* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
||||
|
|
|
@ -46,4 +46,7 @@ post_install()
|
|||
install -m755 ${FILESDIR}/lvm2.initramfs-local-top \
|
||||
${initramfsdir}/scripts/local-top/lvm2
|
||||
install -m755 ${FILESDIR}/lvm2.rc ${DESTDIR}/etc/init.d/lvm2
|
||||
rm -f ${DESTDIR}/lib/*.so ${DESTDIR}/usr/lib/*.so
|
||||
cd ${DESTDIR}/usr/lib && \
|
||||
ln -sf $(echo ../../lib/libdevmapper.so.*) libdevmapper.so
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue