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
|