Makefile 1.4 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:= ConsoleKit
  5. PKG_VERSION:= 0.4.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b57eb18eae8c4d3631d5f4f030218a29
  8. PKG_DESCR:= a framework for defining and tracking users, login sessions and seats
  9. PKG_SECTION:= misc
  10. PKG_BUILDDEP:= dbus-glib
  11. PKG_URL:= http://www.freedesktop.org/wiki/Software/ConsoleKit
  12. PKG_SITES:= http://www.freedesktop.org/software/ConsoleKit/dist/
  13. PKG_SUBPKGS:= CONSOLEKIT CONSOLEKIT_DEV
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,CONSOLEKIT,consolekit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,CONSOLEKIT_DEV,consolekit-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. consolekit-install:
  19. $(INSTALL_DIR) $(IDIR_CONSOLEKIT)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libck-connector.so* \
  21. $(IDIR_CONSOLEKIT)/usr/lib
  22. consolekit-dev-install:
  23. $(INSTALL_DIR) $(IDIR_CONSOLEKIT_DEV)/usr/include
  24. $(CP) $(WRKINST)/usr/include/* \
  25. $(IDIR_CONSOLEKIT_DEV)/usr/include
  26. $(INSTALL_DIR) $(IDIR_CONSOLEKIT_DEV)/usr/lib/pkgconfig
  27. $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
  28. $(IDIR_CONSOLEKIT_DEV)/usr/lib/pkgconfig
  29. include ${TOPDIR}/mk/pkg-bottom.mk