Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= openbox
  5. PKG_VERSION:= 3.4.11.2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 30e669134fa81df810fe7d1dc59cd931
  8. PKG_DESCR:= fast x11 window managaer
  9. PKG_SECTION:= x11/lxde
  10. PKG_BUILDDEP:= glib libxml2 libX11 libXext pango
  11. PKG_DEPENDS:= glib libxml2 libx11 libxext pango libstdcxx
  12. PKG_DEPENDS+= fontconfig
  13. PKG_URL:= http://openbox.org/
  14. PKG_SITES:= http://openbox.org/dist/openbox/
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,OPENBOX,openbox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. openbox-install:
  18. $(INSTALL_DIR) $(IDIR_OPENBOX)/etc/xdg/openbox
  19. $(CP) $(WRKINST)/etc/xdg/openbox/{rc.xml,autostart.sh} \
  20. $(IDIR_OPENBOX)/etc/xdg/openbox
  21. $(INSTALL_DIR) $(IDIR_OPENBOX)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/openbox \
  23. $(IDIR_OPENBOX)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/obxprop \
  25. $(IDIR_OPENBOX)/usr/bin
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/openbox-session \
  27. $(IDIR_OPENBOX)/usr/bin
  28. $(INSTALL_DIR) $(IDIR_OPENBOX)/usr/lib
  29. $(CP) $(WRKINST)/usr/lib/libobrender.so* \
  30. $(IDIR_OPENBOX)/usr/lib
  31. $(CP) $(WRKINST)/usr/lib/libobparser.so* \
  32. $(IDIR_OPENBOX)/usr/lib
  33. $(INSTALL_DIR) $(IDIR_OPENBOX)/usr/share/themes
  34. $(CP) $(WRKINST)/usr/share/themes/* \
  35. $(IDIR_OPENBOX)/usr/share/themes
  36. include ${TOPDIR}/mk/pkg-bottom.mk