avr32: use 4.4.x, serial is broken in 4.9.x
[openadk.git] / package / links / Makefile
blob6d8a6fa1a22e6b9e4020d420ac257857a137cf4c
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:= links
7 PKG_VERSION:= 2.14
8 PKG_RELEASE:= 1
9 PKG_HASH:= 22fa8dcb5a60b8ffd611de31ebd4c79edce472637a3554bab401795da91d4387
10 PKG_DESCR:= web browser for console
11 PKG_SECTION:= app/browser
12 PKG_DEPENDS:= libpng libjpeg-turbo libtiff gpm
13 PKG_BUILDDEP:= libpng libjpeg-turbo gpm
14 PKG_URL:= http://links.twibright.com/
15 PKG_SITES:= http://links.twibright.com/download/
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 PKG_CHOICES_LINKS:= WITH_LIBRESSL WITHOUT_SSL
20 PKGCD_WITH_LIBRESSL:= use libressl for crypto
21 PKGCB_WITH_LIBRESSL:= libressl
22 PKGCS_WITH_LIBRESSL:= libressl
23 PKGCD_WITHOUT_SSL:= use no ssl
25 PKG_FLAVOURS_LINKS:= WITH_FB WITH_DIRECTFB WITH_X
26 PKGFD_WITH_DIRECTFB:= enable DirectFB video output support
27 PKGFS_WITH_DIRECTFB:= directfb
28 PKGFB_WITH_DIRECTFB:= DirectFB
29 PKGFD_WITH_FB:= enable framebuffer video output support
30 PKGFD_WITH_X:= enable xorg video output support
31 PKGFS_WITH_X:= libx11
32 PKGFB_WITH_X:= libX11
34 include ${ADK_TOPDIR}/mk/package.mk
36 $(eval $(call PKG_template,LINKS,links,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
38 CONFIGURE_ARGS+= --without-libevent \
39 --without-svgalib \
40 --without-libtiff \
41 --without-pmshell \
42 --without-atheos
44 ifeq (${ADK_PACKAGE_LINKS_WITHOUT_SSL},y)
45 CONFIGURE_ARGS+= --without-ssl
46 else
47 CONFIGURE_ARGS+= --with-ssl
48 endif
50 ifeq (${ADK_PACKAGE_LINKS_WITH_FB},y)
51 CONFIGURE_ARGS+= --with-fb --enable-graphics
52 else
53 CONFIGURE_ARGS+= --without-fb --disable-graphics
54 endif
56 ifeq (${ADK_PACKAGE_LINKS_WITH_DIRECTFB},y)
57 CONFIGURE_ARGS+= --with-directfb --enable-graphics
58 else
59 CONFIGURE_ARGS+= --without-directfb --disable-graphics
60 endif
62 ifeq (${ADK_PACKAGE_LINKS_WITH_X},y)
63 CONFIGURE_ARGS+= --with-x --enable-graphics
64 else
65 CONFIGURE_ARGS+= --without-x --disable-graphics
66 endif
68 links-install:
69 ${INSTALL_DIR} ${IDIR_LINKS}/usr/bin
70 ${CP} ${WRKINST}/usr/bin/* ${IDIR_LINKS}/usr/bin
72 include ${ADK_TOPDIR}/mk/pkg-bottom.mk