libnfc: moved to github
[openwrt.org/packages.git] / mail / Makefile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# Copyright (C) 2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=alpine
PKG_VERSION:=2.11
PKG_RELEASE:=1
 
PKG_SOURCE_URL:=http://patches.freeiz.com/alpine/release/src/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_MD5SUM:=a3bba218787691080d706b36215eec06
 
PKG_INSTALL:=1
 
include $(INCLUDE_DIR)/package.mk
 
define Package/alpine
  SECTION:=mail
  CATEGORY:=Mail
  DEPENDS:=+libopenssl +libncurses +libpthread +libpam
  TITLE:=Alternatively Licensed Program for Internet News and Email
  URL:=http://www.washington.edu/alpine
endef
 
define Package/alpine/description
 Alpine (Alternatively Licenced Program for Internet News and Email) is a
 free software email client developed at the University of Washington.
 It is suitable for both the inexperienced email user as well as for
 the most demanding power user.
endef
 
CONFIGURE_ARGS += \
        --with-ssl-include-dir=$(STAGING_DIR)/usr/include/openssl/. \
        --with-ssl-lib-dir=$(STAGING_DIR)/usr/lib \
        --without-tcl \
        --without-ldap \
        --without-krb5 \
        --with-system-pinerc=/etc/pine.conf \
        --with-system-fixed-pinerc=/etc/pine.conf.fixed \
        --disable-debug \
        --disable-mouse \
        --with-c-client-target=slx \
 
ifeq ($(CONFIG_IPV6),y)
  DISABLE_IPV6:=
else
  DISABLE_IPV6:=--without-ipv6
endif
 
define Build/Compile
        ( cd $(PKG_BUILD_DIR)/pith ; \
                $(HOSTCC) help_h_gen.c -c -o help_h_gen.o ; \
                $(HOSTCC) help_h_gen.o -o help_h_gen ; \
                $(HOSTCC) help_c_gen.c -c -o help_c_gen.o ; \
                $(HOSTCC) help_c_gen.o -o help_c_gen ; \
        )
        $(call Build/Compile/Default)
endef
 
define Package/alpine/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alpine $(1)/usr/bin/
endef
 
$(eval $(call BuildPackage,alpine))
 
comments