debian: Move to multi-arch support

This commit is contained in:
Holger Hans Peter Freyther 2015-03-14 20:17:19 +01:00
parent 91d0ee5c14
commit 0576f3bebf
5 changed files with 13 additions and 14 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
7
9

7
debian/control vendored
View File

@ -2,8 +2,8 @@ Source: openggsn
Section: net
Priority: optional
Maintainer: Harald Welte <laforge@gnumonks.org>
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, pkg-config, libdpkg-perl, git, dh-autoreconf
Standards-Version: 3.9.5
Build-Depends: debhelper (>= 9), autotools-dev, pkg-config, libdpkg-perl, git, dh-autoreconf
Standards-Version: 3.9.6
Homepage: http://sourceforge.net/projects/ggsn/
Vcs-Git: git://ggsn.git.sourceforge.net/gitroot/ggsn/ggsn
Vcs-Browser: http://ggsn.git.sourceforge.net/git/gitweb.cgi?p=ggsn/ggsn;a=summary
@ -17,10 +17,12 @@ Package: libgtp0
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
Description: library implementing the GTP protocol between SGSN and GGSN
Package: libgtp0-dev
Depends: ${misc:Depends}, libgtp0 (= ${binary:Version})
Multi-Arch: same
Architecture: any
Section: libdevel
Description: Development files for libgtp
@ -30,4 +32,5 @@ Section: debug
Architecture: any
Priority: extra
Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
Description: Debug symbols for OpenGGSN

View File

@ -1,5 +1,5 @@
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/lib*.la
usr/lib/pkgconfig/*
usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/lib*.la
usr/lib/*/pkgconfig/*

View File

@ -1 +1 @@
usr/lib/lib*.so.*
usr/lib/*/lib*.so.*

8
debian/rules vendored
View File

@ -14,15 +14,11 @@
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
#export DH_OPTIONS
export DEB_BUILD_HARDENING=1
CFLAGS = -Wall -g
%:
dh --with autoreconf $@
override_dh_auto_clean:
dh $@ --with autoreconf
override_dh_strip:
dh_strip --dbg-package=openggsn-dbg