summaryrefslogtreecommitdiff
path: root/package/polkit/Makefile
blob: 3470d273753743768eab3e4dc591ab384ccdcebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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:=		2
PKG_MD5SUM:=		9fa7a28633b028681163466da898b008
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 \
			--enable-libsystemd-login=no \
			--without-systemdsystemunitdir \
			--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