File: rules

package info (click to toggle)
libpyzy 1.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 34,492 kB
  • ctags: 942
  • sloc: python: 23,416; cpp: 20,929; makefile: 346; sql: 94; php: 16; sh: 16
file content (15 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1

export TOPDIR=$(CURDIR)
%:
	dh $@ --with autoreconf --parallel

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

DBVER = 1.0.0
get_db_orig:
	version=$$(dpkg-parsechangelog | grep '^Version' | cut -d ' ' -f2 | cut -d':' -f2 | cut -d'-' -f1);\
	wget http://pyzy.googlecode.com/files/pyzy-database-$(DBVER).tar.bz2 -O ../libpyzy_$${version}.orig-db.tar.bz2