Rework debian package build: build final and debug packages and split off include...
[senf.git] / debian / control
index 0062ea8..033d006 100644 (file)
@@ -1,15 +1,16 @@
 Source: libsenf
 Priority: extra
 Maintainer: Stefan Bund <senf-dev@lists.berlios.de>
-Build-Depends: debhelper (>= 5), scons, libboost-dev, libboost-test-dev, libboost-date-time-dev, libboost-regex-dev, libboost-thread-dev, doxygen, dia, tidy, xsltproc, graphviz
-Standards-Version: 3.7.2
-Section: libs
+Build-Depends: debhelper (>= 5), scons, binutils-dev, libboost-dev, 
+       libboost-test-dev, libboost-date-time-dev, libboost-regex-dev, 
+       libboost-filesystem-dev, doxygen, dia, tidy, xsltproc,
+       graphviz, perl-base, linklint 
+Standards-Version: 3.7.2 Section: libs
 
-Package: libsenf-ppi-dev
+Package: libsenf
 Section: libdevel
 Architecture: any
-Depends: libsenf-scheduler-dev (= ${Source-Version}), libsenf-packets-dev (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
-Description: SENF Extensible Network Framework, Packet Processing Infrastructure
+Description: SENF Extensible Network Framework, static library
  The SENF Simple and Extensible Network Framework aims to be a
  complete set of libraries to facilitate the development of network
  applications focusing on network protocols on the layers below the
@@ -17,11 +18,10 @@ Description: SENF Extensible Network Framework, Packet Processing Infrastructure
  purpose utilities and will be expedient to use well beyond its primary
  objective.
 
-Package: libsenf-packets-dev
+Package: libsenf-dbg
 Section: libdevel
 Architecture: any
-Depends: libsenf-socket-dev (= ${Source-Version}), libsenf-utils-dev (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
-Description: SENF Extensible Network Framework, Packets library
+Description: SENF Extensible Network Framework, static library (debug build)
  The SENF Simple and Extensible Network Framework aims to be a
  complete set of libraries to facilitate the development of network
  applications focusing on network protocols on the layers below the
@@ -29,35 +29,14 @@ Description: SENF Extensible Network Framework, Packets library
  purpose utilities and will be expedient to use well beyond its primary
  objective.
 
-Package: libsenf-scheduler-dev
+Package: libsenf-dev
 Section: libdevel
-Architecture: any
-Depends: libsenf-socket-dev (= ${Source-Version}), libsenf-utils-dev (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
-Description: SENF Extensible Network Framework, Scheduler, development files
- The SENF Simple and Extensible Network Framework aims to be a
- complete set of libraries to facilitate the development of network
- applications focusing on network protocols on the layers below the
- application layer. However, the framework includes many general
- purpose utilities and will be expedient to use well beyond its primary
- objective.
-
-Package: libsenf-socket-dev
-Section: libdevel
-Architecture: any
-Depends: libsenf-utils-dev (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
-Description: SENF Extensible Network Framework, Socket library, development files
- The SENF Simple and Extensible Network Framework aims to be a
- complete set of libraries to facilitate the development of network
- applications focusing on network protocols on the layers below the
- application layer. However, the framework includes many general
- purpose utilities and will be expedient to use well beyond its primary
- objective.
-
-Package: libsenf-utils-dev
-Section: libdevel
-Architecture: any
-Depends: binutils-dev, libboost-dev, libboost-regex-dev, libboost-date-time-dev, libboost-thread-dev, ${shlibs:Depends}, ${misc:Depends}
-Description: SENF Extensible Network Framework, Utilities, development files
+Architecture: all
+Depends: binutils-dev, libboost-dev, libboost-regex-dev, 
+       libboost-date-time-dev, libboost-thread-dev,
+       libboost-filesystem-dev, libsenf | libsenf-dbg
+Recommends: libsenf, libsenf-dbg
+Description: SENF Extensible Network Framework, header files
  The SENF Simple and Extensible Network Framework aims to be a
  complete set of libraries to facilitate the development of network
  applications focusing on network protocols on the layers below the