1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 libXft
  12. PKG_URL:= http://www.fluxbox.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
  14. PKG_FLAVOURS_FLUXBOX:= WITH_IMLIB2
  15. PKGFD_WITH_IMLIB2:= enable imlib2 support
  16. PKGFS_WITH_IMLIB2:= imlib2
  17. PKGFB_WITH_IMLIB2:= imlib2
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,FLUXBOX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. ifeq (${ADK_PACKAGE_FLUXBOX_WITH_IMLIB2},y)
  21. CONFIGURE_ARGS+= --enable-imlib2
  22. else
  23. CONFIGURE_ARGS+= --disable-imlib2
  24. endif
  25. post-install:
  26. $(INSTALL_DIR) $(IDIR_FLUXBOX)/usr/{bin,share}
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
  28. $(IDIR_FLUXBOX)/usr/bin
  29. ${CP} ${WRKINST}/usr/share/fluxbox ${IDIR_FLUXBOX}/usr/share/
  30. include ${TOPDIR}/mk/pkg-bottom.mk