[SCM] libzn-poly: library for polynomial arithmetic in Z/nZ[x] branch, master, updated. upstream/0.9-27-g72d1cb8
Tobias Hansen
tobias.han at gmx.de
Sun Dec 23 15:54:55 UTC 2012
The following commit has been merged in the master branch:
commit 72d1cb8fe4fc288e053296555b15f3fd4a3172cd
Author: Tobias Hansen <tobias.han at gmx.de>
Date: Sun Dec 23 16:58:59 2012 +0100
Fix -dev symlink.
diff --git a/debian/control b/debian/control
index 4bbe61d..60fe4a0 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Section: libdevel
Architecture: any
Depends: ${misc:Depends}, libzn-poly-0.9 (= ${binary:Version})
Multi-Arch: same
-Description: Library for polynomial arithmetic in Z/nZ[x]
+Description: development files for libzn-poly
zn_poly is a C library for polynomial arithmetic in Z/nZ[x], where n
is any modulus that fits into an unsigned long.
.
diff --git a/debian/libzn-poly-dev.install b/debian/libzn-poly-dev.install
index cbe9e53..41a1414 100644
--- a/debian/libzn-poly-dev.install
+++ b/debian/libzn-poly-dev.install
@@ -1,2 +1 @@
usr/include/*
-usr/lib/*/libzn_poly.so
diff --git a/debian/rules b/debian/rules
index 157b8c0..9251b6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,8 +12,12 @@ override_dh_auto_configure:
--prefix="$(CURDIR)/debian/tmp/usr" --cflags="$(CFLAGS) $(CPPFLAGS) -fPIC" --ldflags="$(LDFLAGS)"
override_dh_auto_build:
- $(MAKE) libzn_poly-0.9.so
+ $(MAKE) libzn_poly-`cat VERSION`.so
override_dh_auto_test:
$(MAKE) test
test/test all
+
+override_dh_link:
+ dh_link --package=libzn-poly-dev usr/lib/$(DEB_HOST_MULTIARCH)/libzn_poly-`cat VERSION`.so \
+ usr/lib/$(DEB_HOST_MULTIARCH)/libzn_poly.so
--
libzn-poly: library for polynomial arithmetic in Z/nZ[x]
More information about the debian-science-commits
mailing list