added creation of libpsl-dbg package

This commit is contained in:
Tim Ruehsen 2014-06-05 17:05:24 +02:00
parent ba7fd546ba
commit 3c930e8ac3
3 changed files with 20 additions and 3 deletions

20
debian/control vendored
View File

@ -1,8 +1,8 @@
Source: libpsl Source: libpsl
Priority: optional Priority: optional
Maintainer: Tim Ruehsen <tim.ruehsen@gmx.de> Maintainer: Tim Ruehsen <tim.ruehsen@gmx.de>
Build-Depends: debhelper (>=9), autotools-dev, automake, pkg-config, gtk-doc-tools Build-Depends: debhelper (>=9), autotools-dev, automake, pkg-config, gtk-doc-tools, libicu-dev | idn2
Standards-Version: 3.9.4 Standards-Version: 3.9.5
Section: libs Section: libs
Homepage: https://github.com/rockdaboot/libpsl Homepage: https://github.com/rockdaboot/libpsl
#Vcs-Git: git://git.debian.org/collab-maint/libpsl.git #Vcs-Git: git://git.debian.org/collab-maint/libpsl.git
@ -11,7 +11,7 @@ Homepage: https://github.com/rockdaboot/libpsl
Package: libpsl-dev Package: libpsl-dev
Section: libdevel Section: libdevel
Architecture: any Architecture: any
Depends: libpsl (= ${binary:Version}) Depends: libpsl (= ${binary:Version}), ${misc:Depends}
Description: Library for the Public Suffix List Description: Library for the Public Suffix List
Libpsl allows checking domains against the Public Suffix List, Libpsl allows checking domains against the Public Suffix List,
It can be used to avoid privacy-leaking 'super-cookies', It can be used to avoid privacy-leaking 'super-cookies',
@ -34,3 +34,17 @@ Description: Library for the Public Suffix List
. .
This package contains runtime libraries. This package contains runtime libraries.
Package: libpsl-dbg
Section: debug
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Description: Library for the Public Suffix List
Libpsl allows checking domains against the Public Suffix List,
It can be used to avoid privacy-leaking 'super-cookies',
'super domain' certificates, for doamin highlighting purposes
sorting domain lists by site and more.
.
This package contains runtime libraries.

1
debian/rules vendored
View File

@ -3,6 +3,7 @@
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
export DH_VERBOSE=1 export DH_VERBOSE=1
export DH_OPTIONS += --dbg-package=libpsl-dbg
%: %:
dh $@ --with autotools-dev dh $@ --with autotools-dev

View File

@ -9,6 +9,8 @@ if [ ! -e libpsl_${version}.orig.tar.gz ]; then
wget -O libpsl_${version}.orig.tar.gz https://github.com/rockdaboot/libpsl/archive/${version}.tar.gz wget -O libpsl_${version}.orig.tar.gz https://github.com/rockdaboot/libpsl/archive/${version}.tar.gz
fi fi
rm -rf libpsl-${version}
if [ ! -d libpsl-${version} ]; then if [ ! -d libpsl-${version} ]; then
tar xvfz libpsl_${version}.orig.tar.gz tar xvfz libpsl_${version}.orig.tar.gz
fi fi