install pkg-config configuration files
Suggested by Jeroen Meijer. * spot/libspot.pc.in, spot/ltsmin/libspotltsmin.pc.in: New file. * spot/Makefile.am, spot/ltsmin/Makefile.am: Distribute them, and install their derived version. * spot/.gitignore: Ignore *.pc files. * debian/libbddx-dev.install, debian/libspot-dev.install: Ship those *.pc files. * NEWS: Mention it.
This commit is contained in:
parent
a9b056baa4
commit
a0891fde18
8 changed files with 63 additions and 3 deletions
2
NEWS
2
NEWS
|
|
@ -14,6 +14,8 @@ New in spot 2.2.2.dev (Not yet released)
|
||||||
* The development Debian packages for Spot now install static
|
* The development Debian packages for Spot now install static
|
||||||
libraries as well.
|
libraries as well.
|
||||||
|
|
||||||
|
* We now install configuration files for users of pkg-config.
|
||||||
|
|
||||||
Tools:
|
Tools:
|
||||||
|
|
||||||
* ltlcross supports translators that output alternating automata in
|
* ltlcross supports translators that output alternating automata in
|
||||||
|
|
|
||||||
1
debian/libbddx-dev.install
vendored
1
debian/libbddx-dev.install
vendored
|
|
@ -3,3 +3,4 @@ usr/include/bvecx.h
|
||||||
usr/include/bddx.h
|
usr/include/bddx.h
|
||||||
usr/lib/*-*/libbddx.so
|
usr/lib/*-*/libbddx.so
|
||||||
usr/lib/*-*/libbddx.a
|
usr/lib/*-*/libbddx.a
|
||||||
|
usr/lib/*-*/pkgconfig/libbddx.pc
|
||||||
|
|
|
||||||
2
debian/libspot-dev.install
vendored
2
debian/libspot-dev.install
vendored
|
|
@ -1,5 +1,7 @@
|
||||||
usr/include/spot
|
usr/include/spot
|
||||||
usr/lib/*-*/libspot.so
|
usr/lib/*-*/libspot.so
|
||||||
usr/lib/*-*/libspot.a
|
usr/lib/*-*/libspot.a
|
||||||
|
usr/lib/*-*/pkgconfig/libspot.pc
|
||||||
usr/lib/*-*/libspotltsmin.so
|
usr/lib/*-*/libspotltsmin.so
|
||||||
usr/lib/*-*/libspotltsmin.a
|
usr/lib/*-*/libspotltsmin.a
|
||||||
|
usr/lib/*-*/pkgconfig/libspotltsmin.pc
|
||||||
|
|
|
||||||
1
spot/.gitignore
vendored
1
spot/.gitignore
vendored
|
|
@ -6,3 +6,4 @@ libspot.la
|
||||||
_.cc
|
_.cc
|
||||||
*.log
|
*.log
|
||||||
*.dir
|
*.dir
|
||||||
|
*.pc
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
## -*- coding: utf-8 -*-
|
## -*- coding: utf-8 -*-
|
||||||
## Copyright (C) 2009, 2010, 2012, 2013, 2014, 2015, 2016 Laboratoire
|
## Copyright (C) 2009, 2010, 2012, 2013, 2014, 2015, 2016, 2017 Laboratoire
|
||||||
## de Recherche et Développement de l'Epita (LRDE).
|
## de Recherche et Développement de l'Epita (LRDE).
|
||||||
## Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
## Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
|
|
@ -48,3 +48,18 @@ libspot_la_LIBADD = \
|
||||||
# Dummy C++ source to cause C++ linking.
|
# Dummy C++ source to cause C++ linking.
|
||||||
nodist_EXTRA_libspot_la_SOURCES = _.cc
|
nodist_EXTRA_libspot_la_SOURCES = _.cc
|
||||||
_.cc:; touch $@
|
_.cc:; touch $@
|
||||||
|
|
||||||
|
|
||||||
|
EXTRA_DIST = $(srcdir)/libspot.pc.in
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
nodist_pkgconfig_DATA = libspot.pc
|
||||||
|
|
||||||
|
libspot.pc: $(srcdir)/libspot.pc.in
|
||||||
|
sed -e 's![@]prefix[@]!$(prefix)!g' \
|
||||||
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
||||||
|
-e 's![@]includedir[@]!$(includedir)!g' \
|
||||||
|
-e 's![@]libdir[@]!$(libdir)!g' \
|
||||||
|
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
|
||||||
|
$(srcdir)/libspot.pc.in > $@
|
||||||
|
|
||||||
|
DISTCLEANFILES = libspot.pc
|
||||||
|
|
|
||||||
12
spot/libspot.pc.in
Normal file
12
spot/libspot.pc.in
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
includedir=@includedir@
|
||||||
|
libdir=@libdir@
|
||||||
|
|
||||||
|
Name: Spot
|
||||||
|
Description: A library of LTL and omega-automata algorithms for model checking
|
||||||
|
URL: https://spot.lrde.epita.fr/
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
Libs: -L${libdir} -lspot
|
||||||
|
Requires: libbddx
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## -*- coding: utf-8 -*-
|
## -*- coding: utf-8 -*-
|
||||||
## Copyright (C) 2011, 2013, 2014, 2015, 2016 Laboratoire de Recherche
|
## Copyright (C) 2011, 2013, 2014, 2015, 2016, 2017 Laboratoire de
|
||||||
## et Developpement de l'Epita (LRDE).
|
## Recherche et Developpement de l'Epita (LRDE).
|
||||||
##
|
##
|
||||||
## This file is part of Spot, a model checking library.
|
## This file is part of Spot, a model checking library.
|
||||||
##
|
##
|
||||||
|
|
@ -34,3 +34,18 @@ libspotltsmin_la_LIBADD = \
|
||||||
$(LIBLTDL) -lpthread
|
$(LIBLTDL) -lpthread
|
||||||
libspotltsmin_la_LDFLAGS = -no-undefined $(SYMBOLIC_LDFLAGS)
|
libspotltsmin_la_LDFLAGS = -no-undefined $(SYMBOLIC_LDFLAGS)
|
||||||
libspotltsmin_la_SOURCES = ltsmin.cc
|
libspotltsmin_la_SOURCES = ltsmin.cc
|
||||||
|
|
||||||
|
|
||||||
|
EXTRA_DIST = $(srcdir)/libspotltsmin.pc.in
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
nodist_pkgconfig_DATA = libspotltsmin.pc
|
||||||
|
|
||||||
|
libspotltsmin.pc: $(srcdir)/libspotltsmin.pc.in
|
||||||
|
sed -e 's![@]prefix[@]!$(prefix)!g' \
|
||||||
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
||||||
|
-e 's![@]includedir[@]!$(includedir)!g' \
|
||||||
|
-e 's![@]libdir[@]!$(libdir)!g' \
|
||||||
|
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
|
||||||
|
$(srcdir)/libspotltsmin.pc.in > $@
|
||||||
|
|
||||||
|
DISTCLEANFILES = libspotltsmin.pc
|
||||||
|
|
|
||||||
12
spot/ltsmin/libspotltsmin.pc.in
Normal file
12
spot/ltsmin/libspotltsmin.pc.in
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
includedir=@includedir@
|
||||||
|
libdir=@libdir@
|
||||||
|
|
||||||
|
Name: Spot-LTSmin
|
||||||
|
Description: Access to LTSmin-compatible state-space in Spot
|
||||||
|
URL: https://spot.lrde.epita.fr/
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
Libs: -L${libdir} -lspotltsmin
|
||||||
|
Requires: libspot
|
||||||
Loading…
Add table
Add a link
Reference in a new issue