Makefile 1.4 KB

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