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.
--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