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