binutils: update to 2.43.1
[openadk.git] / package / dillo / Makefile
blob0535edb69d36ad8318955fdf84cb92c9e7ce1fc7
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= dillo
7 PKG_VERSION:= 3.0.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b
10 PKG_DESCR:= small graphical web browser
11 PKG_SECTION:= x11/apps
12 PKG_DEPENDS:= libfltk libxi libpng zlib libjpeg-turbo libressl
13 PKG_BUILDDEP:= fltk libXi libjpeg-turbo libpng zlib libressl
14 PKG_NEEDS:= threads cxx
15 PKG_URL:= http://www.dillo.org/
16 PKG_SITES:= http://www.dillo.org/download/
18 PKG_HOST_DEPENDS:= !cygwin
19 PKG_ARCH_DEPENDS:= arm mips mips64 x86 x86_64
21 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
23 include $(ADK_TOPDIR)/mk/package.mk
25 $(eval $(call PKG_template,DILLO,dillo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
27 TARGET_CFLAGS+= -fcommon
28 TARGET_CXXFLAGS+= -fcommon
29 TARGET_LDFLAGS+= -liconv
30 CONFIGURE_ENV+= PNG_CONFIG=$(STAGING_TARGET_DIR)/scripts/libpng-config
31 CONFIGURE_ARGS+= --enable-ssl
33 dillo-install:
34 $(INSTALL_DIR) $(IDIR_DILLO)/etc/dillo
35 $(INSTALL_DATA) $(WRKINST)/etc/dillo/* $(IDIR_DILLO)/etc/dillo
36 $(INSTALL_DIR) $(IDIR_DILLO)/usr/bin $(IDIR_DILLO)/usr/lib/dillo
37 $(INSTALL_BIN) $(WRKINST)/usr/bin/dillo $(IDIR_DILLO)/usr/bin
38 $(INSTALL_BIN) $(WRKINST)/usr/bin/dpid* $(IDIR_DILLO)/usr/bin
39 $(CP) $(WRKINST)/usr/lib/dillo/* $(IDIR_DILLO)/usr/lib/dillo
41 include ${ADK_TOPDIR}/mk/pkg-bottom.mk