diff -Nru clippoly-0.11/debian/changelog clippoly-0.11/debian/changelog --- clippoly-0.11/debian/changelog 2014-04-09 13:20:47.000000000 +0000 +++ clippoly-0.11/debian/changelog 2014-05-19 09:59:28.000000000 +0000 @@ -1,3 +1,9 @@ +clippoly (0.11-6) unstable; urgency=medium + + * support pkg-config clippoly by including .pc file + + -- Barak A. Pearlmutter Mon, 19 May 2014 10:59:28 +0100 + clippoly (0.11-5) unstable; urgency=medium * bump policy version diff -Nru clippoly-0.11/debian/libclippoly-dev.install clippoly-0.11/debian/libclippoly-dev.install --- clippoly-0.11/debian/libclippoly-dev.install 2014-04-09 13:09:42.000000000 +0000 +++ clippoly-0.11/debian/libclippoly-dev.install 2014-05-19 09:58:44.000000000 +0000 @@ -1,3 +1,4 @@ usr/include/clippoly/*.h usr/lib/*/lib*.so usr/lib/*/lib*.a +usr/lib/*/pkgconfig/*.pc diff -Nru clippoly-0.11/debian/patches/debian-changes clippoly-0.11/debian/patches/debian-changes --- clippoly-0.11/debian/patches/debian-changes 2014-04-09 13:21:04.000000000 +0000 +++ clippoly-0.11/debian/patches/debian-changes 2014-05-19 10:00:16.000000000 +0000 @@ -5,10 +5,9 @@ information below has been extracted from the changelog. Adjust it or drop it. . - clippoly (0.11-5) unstable; urgency=medium + clippoly (0.11-6) unstable; urgency=medium . - * bump policy version - * lintian vcs-field-not-canonical + * support pkg-config clippoly by including .pc file Author: Barak A. Pearlmutter --- @@ -601,7 +600,7 @@ +That's all there is to it! --- /dev/null +++ clippoly-0.11/Makefile.am -@@ -0,0 +1,36 @@ +@@ -0,0 +1,53 @@ +ACLOCAL_AMFLAGS = -I m4 + +AM_CPPFLAGS = -I. -DGEN_TEMPLATES @@ -638,6 +637,23 @@ + +EXTRA_DIST = case1 case2 case3 in_file in_file.test in_file.wrong \ +lgpl.texinfo out_file.dist t1 t1.out t2 t2.out test0 test1 test2 ++ ++clippoly.pc: ++ echo 'prefix=$(prefix)' > $@ ++ echo 'exec_prefix=$(exec_prefix)' >> $@ ++ echo 'includedir=$(includedir)' >> $@ ++ echo 'libdir=$(libdir)' >> $@ ++ echo >> $@ ++ echo 'Name: $(PACKAGE_TARNAME)' >> $@ ++ echo 'Description: $(PACKAGE_NAME)' >> $@ ++ echo 'URL: $(PACKAGE_URL)' >> $@ ++ echo 'Version: $(PACKAGE_VERSION)' >> $@ ++ echo 'Cflags: -I${includedir}' >> $@ ++ echo 'Libs: -L${libdir} -lclippoly' >> $@ ++ echo 'Libs.private: $(LDFLAGS) $(LIBS)' >> $@ ++ ++pkgconfigdir=$(libdir)/pkgconfig ++pkgconfig_DATA = clippoly.pc --- clippoly-0.11.orig/README +++ clippoly-0.11/README @@ -1,59 +1,63 @@