File: rules

package info (click to toggle)
libspf2 1.2.9-4%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,652 kB
  • ctags: 1,179
  • sloc: ansic: 11,462; sh: 9,294; makefile: 117; perl: 14
file content (19 lines) | stat: -rwxr-xr-x 666 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

SOURCE_PACKAGE = libspf2

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

DEB_DH_MAKESHLIBS_ARGS_libspf2-2 = -V 'libspf2-2 (>= 1.2.9)'
LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/libspf2.ver
DEB_DH_INSTALL_SOURCEDIR = debian/tmp

binary-install/spfquery::
#	Rename the `spfquery` tool for the alternatives system:
	mv debian/spfquery/usr/bin/spfquery debian/spfquery/usr/bin/spfquery.$(SOURCE_PACKAGE)
	mv debian/spfquery/usr/sbin/spfd debian/spfquery/usr/sbin/spfd.$(SOURCE_PACKAGE)

get-orig-source:
	wget http://www.libspf2.org/spf/libspf2-1.2.9.tar.gz