Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,POLKIT,polkit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. AUTOTOOL_STYLE:= autogen
  18. CONFIGURE_ARGS+= --disable-man-pages \
  19. --disable-examples \
  20. --enable-libsystemd-login=no \
  21. --without-systemdsystemunitdir \
  22. --with-polkitd-user=root \
  23. --with-authfw=shadow \
  24. --with-os-type=unknown
  25. polkit-install:
  26. $(INSTALL_DIR) $(IDIR_POLKIT)/etc $(IDIR_POLKIT)/usr/bin
  27. $(CP) $(WRKINST)/etc/* $(IDIR_POLKIT)/etc
  28. $(INSTALL_DIR) $(IDIR_POLKIT)/usr/lib/polkit-1
  29. $(CP) $(WRKINST)/usr/lib/libpolkit*.so* \
  30. $(IDIR_POLKIT)/usr/lib
  31. $(CP) $(WRKINST)/usr/lib/polkit-1/* \
  32. $(IDIR_POLKIT)/usr/lib/polkit-1
  33. $(CP) $(WRKINST)/usr/bin/* $(IDIR_POLKIT)/usr/bin
  34. $(INSTALL_DIR) $(IDIR_POLKIT)/usr/share/dbus-1
  35. $(CP) $(WRKINST)/usr/share/dbus-1/* \
  36. $(IDIR_POLKIT)/usr/share/dbus-1
  37. include ${TOPDIR}/mk/pkg-bottom.mk