more package shuffling

This commit is contained in:
Daniel Kahn Gillmor 2016-07-14 11:25:35 +02:00
parent 8c7b0da364
commit c9f122a746
3 changed files with 39 additions and 8 deletions

29
debian/control vendored
View File

@ -4,13 +4,16 @@ Maintainer: Tim Rühsen <tim.ruehsen@gmx.de>
Uploaders: Uploaders:
Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
Build-Depends: Build-Depends:
automake, debhelper (>=9)
debhelper (>=9), Build-Depends-Indep:
dh-exec
Build-Depends-Arch:
dh-autoreconf, dh-autoreconf,
gtk-doc-tools, gtk-doc-tools,
help2man,
libicu-dev, libicu-dev,
pkg-config, pkg-config,
automake,
help2man,
publicsuffix (>= 20150507), publicsuffix (>= 20150507),
Standards-Version: 3.9.8 Standards-Version: 3.9.8
Section: libs Section: libs
@ -70,3 +73,23 @@ Description: Explore the Public Suffix List
. .
This package contains a commandline tool to explore the Public Suffix This package contains a commandline tool to explore the Public Suffix
List. List.
Package: psl-make-dafsa
Section: net
Architecture: all
Depends:
python-minimal,
${misc:Depends},
${shlibs:Depends}
Description: Create a binary DAFSA from a Public Suffix List
libpsl permits the use of an optimized binary representation of the
Public Suffix List (PSL). This format is a deterministic acyclic
finite state automaton, or DAFSA.
.
It is primarily used for building a new version of the publicsuffix
package, but could also be used by anyone else looking to match
printable US ASCII strings.
.
This package contains a python script to convert a standard PSL into
a DAFSA, either in C source code form, or in a specialized mmap-able
binary format.

2
debian/psl-make-dafsa.install vendored Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/dh-exec
src/make_dafsa.py => usr/share/psl_make_dafsa

16
debian/rules vendored
View File

@ -1,11 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
%:
dh $@ --with autoreconf
override_dh_autoreconf: # FIXME: how do we only use dh_autoreconf when building arch-specific
# packages? see debian/README.source for an explanation of why we
# care about splitting binary-only builds from arch:all builds.
DH_AUTORECONF = --with autoreconf
%:
dh $@ $(DH_AUTORECONF)
override_dh_autoreconf-arch:
dh_autoreconf ./autogen.sh dh_autoreconf ./autogen.sh
override_dh_auto_configure: override_dh_auto_configure-arch:
dh_auto_configure -- \ dh_auto_configure -- \
--enable-builtin=libicu \ --enable-builtin=libicu \
--enable-gtk-doc \ --enable-gtk-doc \
@ -17,7 +23,7 @@ override_dh_auto_configure:
--with-psl-file=/usr/share/publicsuffix/public_suffix_list.dat \ --with-psl-file=/usr/share/publicsuffix/public_suffix_list.dat \
--with-psl-testfile=/usr/share/doc/publicsuffix/examples/test_psl.txt --with-psl-testfile=/usr/share/doc/publicsuffix/examples/test_psl.txt
override_dh_auto_build: override_dh_auto_build-arch:
dh_auto_build dh_auto_build
help2man --no-info --no-discard-stderr --output=debian/psl.1 \ help2man --no-info --no-discard-stderr --output=debian/psl.1 \
--name="Explore the Public Suffix List" tools/psl --name="Explore the Public Suffix List" tools/psl