Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:= polkit
  5. PKG_VERSION:= 0.112
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 23973dcfd8b92ab2b7db3a925642b76d
  8. PKG_DESCR:= application-level toolkit
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= autotool mozjs
  11. PKG_DEPENDS:= mozjs
  12. PKG_URL:= http://www.freedesktop.org/wiki/Software/polkit/
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. PKG_OPTS:= dev
  15. PKG_HOST_DEPENDS:= !darwin
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,POLKIT,polkit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. AUTOTOOL_STYLE:= autogen
  19. CONFIGURE_ARGS+= --disable-man-pages \
  20. --disable-examples \
  21. --enable-libsystemd-login=no \
  22. --without-systemdsystemunitdir \
  23. --with-polkitd-user=root \
  24. --with-authfw=shadow \
  25. --with-os-type=unknown
  26. polkit-install:
  27. $(INSTALL_DIR) $(IDIR_POLKIT)/etc $(IDIR_POLKIT)/usr/bin
  28. $(CP) $(WRKINST)/etc/* $(IDIR_POLKIT)/etc
  29. $(INSTALL_DIR) $(IDIR_POLKIT)/usr/lib/polkit-1
  30. $(CP) $(WRKINST)/usr/lib/libpolkit*.so* \
  31. $(IDIR_POLKIT)/usr/lib
  32. $(CP) $(WRKINST)/usr/lib/polkit-1/* \
  33. $(IDIR_POLKIT)/usr/lib/polkit-1
  34. $(CP) $(WRKINST)/usr/bin/* $(IDIR_POLKIT)/usr/bin
  35. $(INSTALL_DIR) $(IDIR_POLKIT)/usr/share/dbus-1
  36. $(CP) $(WRKINST)/usr/share/dbus-1/* \
  37. $(IDIR_POLKIT)/usr/share/dbus-1
  38. include ${TOPDIR}/mk/pkg-bottom.mk