]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - xcb-proto/xcb-proto.nm
xcb-proto: Fix invalid location fo .pc files.
[people/arne_f/ipfire-3.x.git] / xcb-proto / xcb-proto.nm
index 5eb1485490c040f18d01f420e4369bc01543c281..67bb57742c2bfcfee3e75fbfcd16acdde71d18f1 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = xcb-proto
 version    = 1.6
-release    = 1
+release    = 2
 arch       = noarch
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
@@ -15,10 +15,9 @@ license    = MIT
 summary    = XCB protocol descriptions.
 
 description
-       XCB is a project to enable efficient language bindings to the X11 \
-       protocol. This package contains the protocol descriptions themselves. \
-       Language bindings use these protocol descriptions to generate code for \
-       marshalling the protocol.
+       XCB is a project to enable efficient language bindings to the X11
+       protocol. This package contains the protocol descriptions themselves.
+       Language bindings use these protocol descriptions to generate code for          marshalling the protocol.
 end
 
 source_dl  = http://xcb.freedesktop.org/dist/
@@ -29,6 +28,11 @@ build
                pkg-config
                python-devel
        end
+
+       # Place the .pc files in /usr/share so they
+       # can be found on all architectures where libdir != /usr/lib.
+       configure_options += \
+               --libdir=%{datadir}
 end
 
 packages