summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc47b2e)
raw | patch | inline | side by side (parent: fc47b2e)
author | Bernd Zeimetz <bzed@debian.org> | |
Sat, 9 Feb 2008 17:10:25 +0000 (18:10 +0100) | ||
committer | Bernd Zeimetz <bzed@debian.org> | |
Sat, 9 Feb 2008 17:10:25 +0000 (18:10 +0100) |
debian/rules | patch | blob | history |
diff --git a/debian/rules b/debian/rules
index 995f605ba854b7db5f3e443f45e772ea71bf627f..1ed79fa739f3ede749612c3a4bb196d98f5cd826 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
#library versions
LIB_version := $(shell grep '^librrd_la_LDFLAGS' src/Makefile.am | \
- sed 's,^[^0-9]*,,g;s,:,.,g')
+ sed 's,^[^0-9]*,,g;s,\([0-9]*\):\([0-9]*\):\([0-9]*\),\1.\3.\2,g')
LIB_major := $(shell echo $(LIB_version) | sed 's,\..*,,g')
LIB_TH_version := $(shell grep '^librrd_th_la_LDFLAGS' src/Makefile.am | \
- sed 's,^[^0-9]*,,g;s,:,.,g')
+ sed 's,^[^0-9]*,,g;s,\([0-9]*\):\([0-9]*\):\([0-9]*\),\1.\3.\2,g')
LIB_TH_major := $(shell echo $(LIB_TH_version) | sed 's,\..*,,g')
dh_pysupport -ppython-rrd
dh_perl -a
dh_installman -a
- dh_link -plibrrd-dev librrd.so.$(LIB_version) /usr/lib/librrd.so
- dh_link -plibrrd-dev librrd_th.so.$(LIB_TH_version) /usr/lib/librrd_th.so
- dh_link -plibrrd$(LIB_major) librrd.so.$(LIB_version) /usr/lib/librrd.so.$(LIB_major)
- dh_link -plibrrd$(LIB_major) librrd_th.so.$(LIB_TH_version) /usr/lib/librrd_th.so.$(LIB_TH_major)
+ dh_link -plibrrd-dev /usr/lib/librrd.so.$(LIB_version) /usr/lib/librrd.so
+ dh_link -plibrrd-dev /usr/lib/librrd_th.so.$(LIB_TH_version) /usr/lib/librrd_th.so
+ dh_link -plibrrd$(LIB_major) /usr/lib/librrd.so.$(LIB_version) /usr/lib/librrd.so.$(LIB_major)
+ dh_link -plibrrd$(LIB_major) /usr/lib/librrd_th.so.$(LIB_TH_version) /usr/lib/librrd_th.so.$(LIB_TH_major)
dh_link -a
dh_strip -a
dh_compress -a