3 include $(TOPDIR
)/rules.mk
9 PKG_SOURCE_URL
:=http
://elinks.or.cz
/download
/
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_MD5SUM
:=c09d726075e4b5810fa07f8654088755
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_$(PKG_BUILD_DIR)/features.conf | tr [:blank:]-/. _` && export $${x}=yes
&& \
23 $(TARGET_CONFIGURE_OPTS
) \
24 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
25 ac_cv_c_bigendian
=no \
26 ac_cv_sizeof_off_t
=8 \
27 ac_cv_file___features_conf
=yes \
29 --target
=$(GNU_TARGET_NAME
) \
30 --host
=$(GNU_TARGET_NAME
) \
31 --build
=$(GNU_HOST_NAME
) \
36 --disable-uri-rewrite\
40 --without-spidermonkey\
47 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
48 $(MAKE
) -C
$(PKG_BUILD_DIR
)\
49 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld
53 mkdir
-p
$(IDIR_ELINKS
)/usr
/bin
54 $(CP
) $(PKG_BUILD_DIR
)/src
/elinks
$(IDIR_ELINKS
)/usr
/bin
/
55 $(RSTRIP
) $(IDIR_ELINKS
)
56 $(IPKG_BUILD
) $(IDIR_ELINKS
) $(PACKAGE_DIR
)