File: rules

package info (click to toggle)
alpine 2.02%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 34,748 kB
  • sloc: ansic: 315,132; tcl: 19,797; sh: 11,220; makefile: 1,866; perl: 189; exp: 69; csh: 48; sed: 16
file content (35 lines) | stat: -rwxr-xr-x 1,104 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f
# debian/rules for alpine using cdbs
# Andreas Tille <tille@debian.org>, GPL

install/alpine-pico::
# Rename pico to pico.alpine.
# alpine-pico.install puts this in the alpine-pico package.
	mv pico/pico pico/pico.alpine
	mv doc/pico.1 doc/pico.alpine.1

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall
include /usr/share/dpkg/buildflags.mk


DEB_CONFIGURE_EXTRA_FLAGS := \
	--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
        --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
        CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs,--as-needed" --with-krb5 \
	--with-system-pinerc=/etc/pine.conf \
	--with-system-fixed-pinerc=/etc/pinerc.fixed \
	--with-debug-level=0 \
	--with-spellcheck-prog=aspell \
	--without-tcl \
	--with-passfile=.pine-passfile \
	--with-smtp-msa=/usr/sbin/sendmail \
	--with-krb5-dir=/usr

# install README only into alpine package
DEB_INSTALL_DOCS_ALL :=
DEB_INSTALL_DOCS_alpine := README