2008-10-06 09:37:43 +00:00
|
|
|
Index: lockdev-1.0.1/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- lockdev-1.0.1.orig/Makefile
|
|
|
|
+++ lockdev-1.0.1/Makefile
|
|
|
|
@@ -12,7 +12,7 @@ VER = $(shell expr `pwd` : '.*-\([0-9.]*
|
2004-09-09 07:59:07 +00:00
|
|
|
MVER = ${shell expr `pwd` : '.*-\([0-9]*\).[0-9]*'}
|
|
|
|
|
|
|
|
static = ${libname}.a
|
|
|
|
-shared = ${libname}.${VER}.so
|
|
|
|
+shared = ${libname}.so.${VER}
|
|
|
|
soname = ${libname}.so.${MVER}
|
|
|
|
|
|
|
|
# overwritten by caller (e.g.: debian/rules)
|
2008-10-06 09:37:43 +00:00
|
|
|
@@ -77,6 +77,7 @@ install_doc: docs/lockdev.3
|
2004-09-09 07:59:07 +00:00
|
|
|
install_run: ${shared}
|
|
|
|
install -m755 -d ${libdir}
|
|
|
|
install -m755 ${shared} ${libdir}
|
|
|
|
+ ln -s ${shared} ${libdir}/liblockdev.so
|
|
|
|
install -m755 -d ${sbindir}
|
|
|
|
install -m755 lockdev ${sbindir}
|
|
|
|
|