python-treq: bump to version 16.12.0
[buildroot-gz.git] / package / heirloom-mailx / heirloom-mailx.mk
blob044cd8cf3ac304ad011ca852eb6b280bcb1542bf
1 ################################################################################
3 # heirloom-mailx
5 ################################################################################
7 HEIRLOOM_MAILX_VERSION = 12.5
8 HEIRLOOM_MAILX_SOURCE = heirloom-mailx_$(HEIRLOOM_MAILX_VERSION).orig.tar.gz
9 HEIRLOOM_MAILX_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/h/heirloom-mailx
10 HEIRLOOM_MAILX_LICENSE = BSD-4c, Bellcore (base64), OpenVision (imap_gssapi), RSA Data Security (md5), Network Working Group (hmac), MPLv1.1 (nss)
11 HEIRLOOM_MAILX_LICENSE_FILES = COPYING
13 ifeq ($(BR2_PACKAGE_OPENSSL),y)
14 HEIRLOOM_MAILX_DEPENDENCIES += openssl
15 endif
17 define HEIRLOOM_MAILX_CONFIGURE_CMDS
18 (cd $(@D); $(TARGET_CONFIGURE_OPTS) $(SHELL) ./makeconfig)
19 endef
21 # -fPIC is needed to build with NIOS2 toolchains.
22 define HEIRLOOM_MAILX_BUILD_CMDS
23 $(TARGET_CONFIGURE_OPTS) $(MAKE) \
24 CFLAGS="$(TARGET_CFLAGS) -fPIC" \
25 -C $(@D)
26 endef
28 define HEIRLOOM_MAILX_INSTALL_TARGET_CMDS
29 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
30 PREFIX=/usr \
31 UCBINSTALL=$(INSTALL) \
32 STRIP=/bin/true \
33 DESTDIR=$(TARGET_DIR) \
34 install
35 endef
37 $(eval $(generic-package))