Makefile 1.2 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:= fluxbox
  5. PKG_VERSION:= 1.3.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= c174030bd356f680dc5608f5553cac89b44f362c050d081ae8a8b7a3227280a0
  8. PKG_DESCR:= window manager featuring tabs and an iconbar
  9. PKG_SECTION:= x11/apps
  10. PKG_DEPENDS:= libstdcxx
  11. PKG_BUILDDEP:= libXpm libXft
  12. PKG_URL:= http://www.fluxbox.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_FLAVOURS_FLUXBOX:= WITH_IMLIB2
  16. PKGFD_WITH_IMLIB2:= enable imlib2 support
  17. PKGFS_WITH_IMLIB2:= imlib2
  18. PKGFB_WITH_IMLIB2:= imlib2
  19. include $(ADK_TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,FLUXBOX,fluxbox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. ifeq (${ADK_PACKAGE_FLUXBOX_WITH_IMLIB2},y)
  22. CONFIGURE_ARGS+= --enable-imlib2
  23. else
  24. CONFIGURE_ARGS+= --disable-imlib2
  25. endif
  26. fluxbox-install:
  27. $(INSTALL_DIR) $(IDIR_FLUXBOX)/usr/{bin,share}
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
  29. $(IDIR_FLUXBOX)/usr/bin
  30. ${CP} ${WRKINST}/usr/share/fluxbox ${IDIR_FLUXBOX}/usr/share/
  31. include ${ADK_TOPDIR}/mk/pkg-bottom.mk