Add a libstrongswan-dev debian package with development headers

This commit is contained in:
Martin Willi 2012-07-19 08:28:07 +02:00
parent 328447acd5
commit eb1b380a1c
3 changed files with 13 additions and 2 deletions

View File

@ -34,8 +34,16 @@ Description: strongSwan plugin to interact with NetworkManager
Package: libstrongswan
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: strongSwan utility and crypto library
libstrongswan is the underlying library of charon and other strongSwan
components. It is built in a modular way and is extendable through various
plugins.
Package: libstrongswan-dev
Architecture: any
Priority: optional
Depends: ${misc:Depends}, libstrongswan (=${binary:Version})
Section: devel
Description: strongSwan development headers
C header files to develop with libstrongswan.

View File

@ -0,0 +1,2 @@
usr/lib/strongswan/include/config.h usr/lib/strongswan/include/
usr/include/strongswan/* usr/include/strongswan/

View File

@ -13,7 +13,8 @@ CONFIGURE_ARGS = \
--enable-farp --enable-attr-sql --enable-dhcp --enable-openssl --enable-agent \
--enable-pkcs11 --enable-ctr --enable-ccm --enable-gcm --enable-addrblock \
--enable-nm --disable-hmac --with-capabilities=libcap \
--with-ipsecdir=/usr/lib/strongswan --with-ipseclibdir=/usr/lib/strongswan
--with-ipsecdir=/usr/lib/strongswan --with-ipseclibdir=/usr/lib/strongswan \
--with-dev-headers=/usr/include/strongswan
ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2