summaryrefslogtreecommitdiff
path: root/package/polkit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/polkit/Makefile')
-rw-r--r--package/polkit/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/polkit/Makefile b/package/polkit/Makefile
new file mode 100644
index 000000000..d4a1934c0
--- /dev/null
+++ b/package/polkit/Makefile
@@ -0,0 +1,38 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= polkit
+PKG_VERSION:= 0.112
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 758d825e25283b201026f1bb3a476144
+PKG_DESCR:= application-level toolkit
+PKG_SECTION:= libs
+PKG_BUILDDEP:= autotool mozjs
+PKG_DEPENDS:= mozjs
+PKG_URL:= http://www.freedesktop.org/wiki/Software/polkit/
+PKG_SITES:= http://cgit.freedesktop.org/polkit/snapshot/
+PKG_OPTS:= dev
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,POLKIT,polkit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+AUTOTOOL_STYLE:= autogen
+CONFIGURE_ARGS+= --disable-man-pages \
+ --disable-examples \
+ --with-authfw=shadow \
+ --with-os-type=unknown
+
+polkit-install:
+ $(INSTALL_DIR) $(IDIR_POLKIT)/etc $(IDIR_POLKIT)/usr/bin
+ $(CP) $(WRKINST)/etc/* $(IDIR_POLKIT)/etc
+ $(INSTALL_DIR) $(IDIR_POLKIT)/usr/lib/polkit-1
+ $(CP) $(WRKINST)/usr/lib/libpolkit*.so* \
+ $(IDIR_POLKIT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/polkit-1/* \
+ $(IDIR_POLKIT)/usr/lib/polkit-1
+ $(CP) $(WRKINST)/usr/bin/* $(IDIR_POLKIT)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk