1
0

Makefile 1.1 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.3.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 52e76de0ae96d8c5e87374661d0c7112
  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 libXft
  12. PKG_URL:= http://www.fluxbox.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
  14. PKG_ARCH_DEPENDS:= !avr32
  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 $(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 ${TOPDIR}/mk/pkg-bottom.mk