diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-18 08:22:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-18 08:22:01 +0100 |
commit | d710451b96a9b2612cb2d3a363a2acae5dda6391 (patch) | |
tree | a218aa4ae5f8b59da047143cd343fe58f0a0291c | |
parent | b319b057e32c1158f376455001a9a52f36f217f9 (diff) |
add directfb flavour
-rw-r--r-- | package/links/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/package/links/Makefile b/package/links/Makefile index dae75bd35..33be6b148 100644 --- a/package/links/Makefile +++ b/package/links/Makefile @@ -14,6 +14,11 @@ PKG_BUILDDEP:= openssl libpng jpeg gpm PKG_URL:= http://links.twibright.com/ PKG_SITES:= http://links.twibright.com/download/ +PKG_FLAVOURS:= WITH_DIRECTFB +PKGFD_WITH_DIRECTFB:= enable DirectFB video output support +PKGFS_WITH_DIRECTFB:= directfb +PKGFB_WITH_DIRECTFB:= DirectFB + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,LINKS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -21,11 +26,17 @@ $(eval $(call PKG_template,LINKS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG CONFIGURE_ARGS+= --enable-graphics \ --with-ssl \ --without-svgalib \ + --without-libtiff \ --without-x \ - --without-directfb \ --without-pmshell \ --without-atheos +ifeq (${ADK_PACKAGE_LINKS_WITH_DIRECTFB},y) +CONFIGURE_ARGS+= --with-directfb +else +CONFIGURE_ARGS+= --without-directfb +endif + post-install: ${INSTALL_DIR} ${IDIR_LINKS}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_LINKS}/usr/bin |