~ubuntu-branches/ubuntu/wily/tesseract/wily-proposed

« back to all changes in this revision

Viewing changes to tesseract-3.02.01/debian/rules

  • Committer: Package Import Robot
  • Author(s): Jonathan Nieder
  • Date: 2012-07-19 16:51:03 UTC
  • Revision ID: package-import@ubuntu.com-20120719165103-igts32go43hlfe5l
Tags: 3.02.01-4.1
* Non-maintainer upload
* Remove hardcoded dependency on libleptonica (closes: #680598)
* Bump build-dependency on libleptonica-dev to ">> 1.69-3." for
  fixed shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
CFLAGS = -Wall -g -fPIC -DTESSDATA_PREFIX=/usr/share/tesseract-ocr/
 
3
%:
 
4
        dh $@
 
5
 
 
6
override_dh_auto_test:
 
7
 
 
8
override_dh_auto_clean:
 
9
        dh_auto_clean
 
10
        dh_clean java/com/Makefile java/com/google/Makefile java/com/google/scrollview/Makefile java/com/google/scrollview/events/Makefile java/com/google/scrollview/ui/Makefile
 
11
 
 
12
override_dh_auto_configure:
 
13
        ./autogen.sh
 
14
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --with-debug