3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=c09d726075e4b5810fa07f8654088755
10 PKG_SOURCE_URL
:=http
://elinks.or.cz
/download
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,ELINKS
,elinks
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
22 x
=`echo ac_cv_file_./features.conf | tr [:blank:]-/. _` && export $${x}=yes
&& \
23 x
=`echo ac_cv_file_$(PKG_BUILD_DIR)/features.conf | tr [:blank:]-/. _` && export $${x}=yes
&& \
24 $(TARGET_CONFIGURE_OPTS
) \
25 CFLAGS
="$(TARGET_CFLAGS)" \
26 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
27 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
29 --target
=$(GNU_TARGET_NAME
) \
30 --host
=$(GNU_TARGET_NAME
) \
31 --build
=$(GNU_HOST_NAME
) \
37 --datadir=/usr
/share \
38 --includedir=/usr
/include \
39 --infodir=/usr
/share
/info \
41 --libexecdir
=/usr
/lib \
42 --localstatedir
=/var \
43 --mandir=/usr
/share
/man \
46 $(DISABLE_LARGEFILE
) \
57 --disable-uri-rewrite\
65 --with-openssl
="$(STAGING_DIR)/usr" \
66 --without-spidermonkey\
73 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
74 $(MAKE
) -C
$(PKG_BUILD_DIR
)\
75 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld
79 mkdir
-p
$(IDIR_ELINKS
)/usr
/bin
80 $(CP
) $(PKG_BUILD_DIR
)/src
/elinks
$(IDIR_ELINKS
)/usr
/bin
/
81 $(RSTRIP
) $(IDIR_ELINKS
)
82 $(IPKG_BUILD
) $(IDIR_ELINKS
) $(PACKAGE_DIR
)