File: rules

package info (click to toggle)
libpyzy 1.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 34,488 kB
  • sloc: python: 23,416; cpp: 20,929; makefile: 349; sql: 94; php: 16; sh: 16
file content (23 lines) | stat: -rwxr-xr-x 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

include /usr/share/dpkg/pkg-info.mk

export TOPDIR=$(CURDIR)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-db-android --enable-db-open-phrase

DBVER = 1.0.0
get_db_orig:
	version=$(DEB_VERSION_UPSTREAM) ; \
	wget http://pyzy.googlecode.com/files/pyzy-database-$(DBVER).tar.bz2 -O ../libpyzy_$${version}.orig-db.tar.bz2