File: rules

package info (click to toggle)
osra 2.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,468 kB
  • sloc: cpp: 52,893; sh: 3,085; perl: 390; makefile: 328; python: 279; xml: 169; java: 160
file content (14 lines) | stat: -rwxr-xr-x 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@

# Autoreconf fails, build has to use embedded configure script:
# Reference: https://sourceforge.net/p/osra/bugs/20/
override_dh_autoreconf:

# --enable-java is not added as it causes FTBFS
override_dh_auto_configure:
	LIBS=-lpng INSTALL_PROGRAM="install --strip-program=true" ./configure --prefix=/usr --datarootdir=\$${prefix}/share/osra --enable-lib --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --host=$(DEB_HOST_GNU_TYPE) --enable-openmp