Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= dillo
  5. PKG_VERSION:= 3.0.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 726cd0b7a18c5e25f4d80ebeffe7607e
  8. PKG_DESCR:= small graphical web browser
  9. PKG_SECTION:= x11/apps
  10. PKG_DEPENDS:= libfltk libxi libpng zlib libjpeg-turbo
  11. PKG_DEPENDS+= libstdcxx libpthread libopenssl
  12. PKG_BUILDDEP:= fltk libXi libiconv-tiny libjpeg-turbo libpng zlib openssl
  13. PKG_URL:= http://www.dillo.org/
  14. PKG_SITES:= http://www.dillo.org/download/
  15. PKG_NEED_CXX:= 1
  16. PKG_HOST_DEPENDS:= !cygwin
  17. PKG_ARCH_DEPENDS:= x86 x86_64 mips arm
  18. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,DILLO,dillo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. CONFIGURE_ENV+= PNG_CONFIG=$(STAGING_TARGET_DIR)/scripts/libpng-config
  22. TARGET_LDFLAGS+= -liconv
  23. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  24. CONFIGURE_ARGS+= --enable-ssl
  25. post-install:
  26. $(INSTALL_DIR) $(IDIR_DILLO)/etc/dillo
  27. $(INSTALL_DATA) $(WRKINST)/etc/dillo/* $(IDIR_DILLO)/etc/dillo
  28. $(INSTALL_DIR) $(IDIR_DILLO)/usr/bin $(IDIR_DILLO)/usr/lib/dillo
  29. $(INSTALL_BIN) $(WRKINST)/usr/bin/dillo $(IDIR_DILLO)/usr/bin
  30. $(INSTALL_BIN) $(WRKINST)/usr/bin/dpid* $(IDIR_DILLO)/usr/bin
  31. $(CP) $(WRKINST)/usr/lib/dillo/* $(IDIR_DILLO)/usr/lib/dillo
  32. include ${TOPDIR}/mk/pkg-bottom.mk