summaryrefslogtreecommitdiff
path: root/package/dillo/Makefile
blob: 2c71d8dd55842e9e276940ecac001c866e5379f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		dillo
PKG_VERSION:=		3.0.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		726cd0b7a18c5e25f4d80ebeffe7607e
PKG_DESCR:=		small graphical web browser
PKG_SECTION:=		x11/apps
PKG_DEPENDS:=		libfltk libxi libiconv libpng zlib libjpeg
PKG_DEPENDS+=		libstdcxx libpthread libgcc
PKG_BUILDDEP:=		fltk libXi libiconv jpeg libpng zlib
PKG_URL:=		http://www.dillo.org/
PKG_SITES:=		http://www.dillo.org/download/
PKG_NEED_CXX:=		1

PKG_HOST_DEPENDS:=	!cygwin
PKG_ARCH_DEPENDS:=	x86 x86_64 mips arm

DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.bz2

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,DILLO,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		PNG_CONFIG=$(STAGING_DIR)/usr/bin/png-config
TARGET_LDFLAGS+=	-liconv -lpng15
XAKE_FLAGS+=		GCC_HONOUR_COPTS=s

post-install:
	$(INSTALL_DIR) $(IDIR_DILLO)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/dillo $(IDIR_DILLO)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/dpid* $(IDIR_DILLO)/usr/bin

include ${TOPDIR}/mk/pkg-bottom.mk