2 # Copyright (C) 2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
:=http
://patches.freeiz.com
/alpine
/release
/src
/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
16 PKG_MD5SUM
:=a3bba218787691080d706b36215eec06
20 include $(INCLUDE_DIR
)/package.mk
25 DEPENDS
:=+libopenssl
+libncurses
+libpthread
+libpam
26 TITLE
:=Alternatively Licensed Program for Internet News and Email
27 URL
:=http
://www.washington.edu
/alpine
30 define Package
/alpine
/description
31 Alpine
(Alternatively Licenced Program for Internet News and Email
) is a
32 free software email client developed at the University of Washington.
33 It is suitable for both the inexperienced email user
as well
as for
34 the most demanding power user.
38 --with-ssl-include-dir
=$(STAGING_DIR
)/usr
/include/openssl
/. \
39 --with-ssl-lib-dir
=$(STAGING_DIR
)/usr
/lib \
43 --with-system-pinerc
=/etc
/pine.conf \
44 --with-system-fixed-pinerc
=/etc
/pine.conf.fixed \
47 --with-c-client-target
=slx \
49 ifeq ($(CONFIG_IPV6
),y
)
52 DISABLE_IPV6
:=--without-ipv6
56 ( cd
$(PKG_BUILD_DIR
)/pith
; \
57 $(HOSTCC
) help_h_gen.c
-c
-o help_h_gen.o
; \
58 $(HOSTCC
) help_h_gen.o
-o help_h_gen
; \
59 $(HOSTCC
) help_c_gen.c
-c
-o help_c_gen.o
; \
60 $(HOSTCC
) help_c_gen.o
-o help_c_gen
; \
62 $(call Build
/Compile
/Default
)
65 define Package
/alpine
/install
66 $(INSTALL_DIR
) $(1)/usr
/bin
67 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/alpine
$(1)/usr
/bin
/
70 $(eval
$(call BuildPackage
,alpine
))