Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

build: generate flusspferd.pc again

  • Loading branch information...
commit 0dbe02ad457e524b81ab45adbeb9c620d33d5b99 1 parent 170dd54
Aristid Breitkreuz aristidb authored

Showing 2 changed files with 36 additions and 7 deletions. Show diff stats Hide diff stats

  1. +10 1 CMakeLists.txt
  2. +26 6 flusspferd.pc.in
11 CMakeLists.txt
@@ -445,7 +445,7 @@ INSTALL(
445 445 FILES src/js/prelude.js
446 446 DESTINATION ${INSTALL_LIBDATA_PATH})
447 447
448   -## jsrepl.js ################################################################
  448 +## Configured files##########################################################
449 449
450 450 CONFIGURE_FILE(
451 451 ${Flusspferd_SOURCE_DIR}/src/js/jsrepl.js.in
@@ -454,3 +454,12 @@ CONFIGURE_FILE(
454 454 INSTALL(
455 455 FILES ${Flusspferd_BINARY_DIR}/js/jsrepl.js
456 456 DESTINATION ${INSTALL_ETC_PATH}/flusspferd)
  457 +
  458 +CONFIGURE_FILE(
  459 + ${Flusspferd_SOURCE_DIR}/flusspferd.pc.in
  460 + ${Flusspferd_BINARY_DIR}/flusspferd.pc
  461 + @ONLY)
  462 +
  463 +INSTALL(
  464 + FILES ${Flusspferd_BINARY_DIR}/flusspferd.pc
  465 + DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
32 flusspferd.pc.in
... ... @@ -1,14 +1,34 @@
  1 +# vim:ts=4:sw=4:expandtab:autoindent:
1 2 #
  3 +# Copyright (c) 2008, 2009 Aristid Breitkreuz, Ash Berlin, Ruediger Sonderfeld
2 4 #
  5 +# Permission is hereby granted, free of charge, to any person obtaining a copy
  6 +# of this software and associated documentation files (the "Software"), to deal
  7 +# in the Software without restriction, including without limitation the rights
  8 +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9 +# copies of the Software, and to permit persons to whom the Software is
  10 +# furnished to do so, subject to the following conditions:
  11 +
  12 +# The above copyright notice and this permission notice shall be included in
  13 +# all copies or substantial portions of the Software.
  14 +
  15 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  18 +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19 +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  20 +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  21 +# THE SOFTWARE.
3 22 #
4   -prefix=@PREFIX@
5   -libdir=@LIBDIR@
6   -includedir=@INCLUDEDIR@
7   -modulesdir=@LIBDIR@/flusspferd/modules
  23 +
  24 +prefix=@CMAKE_INSTALL_PREFIX@
  25 +libdir=@INSTALL_LIBRARIES_PATH@
  26 +includedir=@INSTALL_HEADERS_PATH@
  27 +modulesdir=@INSTALL_MODULES_PATH@
8 28
9 29 Name: Flusspferd
10 30 Description: Javascript Bindings for C++
11   -Version: @VERSION@
  31 +Version: @FLUSSPFERD_VERSION@
12 32 # Requires:
13 33 Libs: -L${libdir} -lflusspferd
14   -Cflags: -I${includedir} @CFLAGS@
  34 +Cflags: -I${includedir}

0 comments on commit 0dbe02a

Please sign in to comment.
Something went wrong with that request. Please try again.