File: rules

package info (click to toggle)
glpk 4.45-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,264 kB
  • sloc: ansic: 61,624; sh: 10,684; sql: 142; makefile: 137; cs: 83
file content (21 lines) | stat: -rwxr-xr-x 634 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
#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules for the glpk package
# GNU copyright (C) 2007, 2008  Rafael Laboissiere

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

debversion = $(shell perl -ne '/([\d.-]+)/;print "$$1"; last' \
		debian/changelog)
uversion = $(shell echo $(debversion) | sed "s/-.*//")

DEB_CONFIGURE_EXTRA_FLAGS =	\
	--enable-dl --enable-odbc --enable-mysql --with-gmp --with-zlib
DEB_MAKE_CHECK_TARGET = check
DEB_DH_MAKESHLIBS_ARGS_libglpk0 = -V"libglpk0 (>= $(uversion))"
DEB_COMPRESS_EXCLUDE = .sql .pdf

debian/stamp-autotools-files:
	libtoolize
	autoreconf