lib{g,}udev: install soname symlinks.

This commit is contained in:
Juan RP 2011-06-26 20:24:34 +02:00
parent e55a069cf7
commit 5e133daf00
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,8 @@ long_desc="${long_desc}
This package contains libgudev, a library to interact with udev through This package contains libgudev, a library to interact with udev through
the GLib bindings." the GLib bindings."
revision=1
replaces="udev-glib>=0" replaces="udev-glib>=0"
Add_dependency run glibc Add_dependency run glibc
Add_dependency run glib Add_dependency run glib
@ -15,5 +17,6 @@ do_install()
{ {
mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/lib/libgudev* ${DESTDIR}/lib mv ${SRCPKGDESTDIR}/lib/libgudev* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/lib/libgudev* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/girepository* ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/girepository* ${DESTDIR}/usr/lib
} }

View File

@ -5,10 +5,13 @@ long_desc="${long_desc}
This library provides access to udev device information." This library provides access to udev device information."
revision=1
Add_dependency run glibc Add_dependency run glibc
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/lib mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/lib/libudev*.so* ${DESTDIR}/lib mv ${SRCPKGDESTDIR}/lib/libudev*.so* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/lib/libudev*.so ${DESTDIR}/usr/lib
} }