From 5e133daf001c914f053628083dd5ae190add2c62 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 26 Jun 2011 20:24:34 +0200 Subject: [PATCH] lib{g,}udev: install soname symlinks. --- srcpkgs/udev/libgudev.template | 3 +++ srcpkgs/udev/libudev.template | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/udev/libgudev.template b/srcpkgs/udev/libgudev.template index 2b24745d154..6f274a8a025 100644 --- a/srcpkgs/udev/libgudev.template +++ b/srcpkgs/udev/libgudev.template @@ -6,6 +6,8 @@ long_desc="${long_desc} This package contains libgudev, a library to interact with udev through the GLib bindings." +revision=1 + replaces="udev-glib>=0" Add_dependency run glibc Add_dependency run glib @@ -15,5 +17,6 @@ do_install() { mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/lib/libgudev* ${DESTDIR}/lib + mv ${SRCPKGDESTDIR}/usr/lib/libgudev* ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/girepository* ${DESTDIR}/usr/lib } diff --git a/srcpkgs/udev/libudev.template b/srcpkgs/udev/libudev.template index f68eca22ac0..b7d7938899a 100644 --- a/srcpkgs/udev/libudev.template +++ b/srcpkgs/udev/libudev.template @@ -5,10 +5,13 @@ long_desc="${long_desc} This library provides access to udev device information." +revision=1 + Add_dependency run glibc do_install() { - mkdir -p ${DESTDIR}/lib + mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/lib/libudev*.so* ${DESTDIR}/lib + mv ${SRCPKGDESTDIR}/usr/lib/libudev*.so ${DESTDIR}/usr/lib }