summaryrefslogtreecommitdiff
path: root/package/systemd/Makefile
blob: 79b85469a3a69a259f9e9f705827a6c33922fe6e (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		systemd
PKG_VERSION:=		231
PKG_RELEASE:=		1
PKG_HASH:=		899733ad6c157cedbb89aec4efe3bc824dcfd65a1d6f6bebc7b043f7924e39b4
PKG_DESCR:=		system and service manager
PKG_SECTION:=		base/apps
PKG_DEPENDS:=		libcap libmount
PKG_BUILDDEP:=		intltool-host libcap util-linux gettext-host
PKG_URL:=		https://wiki.freedesktop.org/www/Software/systemd/
PKG_SITES:=		https://github.com/systemd/systemd/archive/

PKG_LIBC_DEPENDS:=	glibc

DISTFILES:=             v$(PKG_VERSION).tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,SYSTEMD,systemd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

AUTOTOOL_STYLE:=	autogen
CONFIGURE_ARGS+=	--disable-static \
			--disable-manpages \
			--disable-selinux \
			--disable-pam \
			--disable-ima \
			--disable-libcryptsetup \
			--disable-efi \
			--disable-gnuefi \
			--disable-ldconfig \
			--disable-tests \
			--disable-coverage \
			--with-default-dnssec=no \
			--without-python \
			--disable-acl \
			--disable-audit \
			--disable-libidn \
			--disable-seccomp \
			--disable-xkbcommon \
			--disable-kdbus \
			--disable-localed \
			--disable-polkit \
			--disable-bzip2 \
			--disable-lz4 \
			--disable-xz \
			--disable-zlib \
			--disable-libcurl \
			--disable-gcrypt \
			--disable-microhttpd \
			--disable-qrencode \
			--disable-quotacheck \
			--disable-rfkill \
			--disable-smack \
			--disable-hibernate 

systemd-install:
	$(INSTALL_DIR) $(IDIR_SYSTEMD)/etc
	$(CP) $(WRKINST)/etc/* \
		$(IDIR_SYSTEMD)/etc
	$(INSTALL_DIR) $(IDIR_SYSTEMD)/usr/lib
	$(CP) $(WRKINST)/usr/lib/* \
		$(IDIR_SYSTEMD)/usr/lib
	$(INSTALL_DIR) $(IDIR_SYSTEMD)/usr/bin
	$(CP) $(WRKINST)/usr/bin/* \
		$(IDIR_SYSTEMD)/usr/bin
	$(INSTALL_DIR) $(IDIR_SYSTEMD)/usr/share
	$(CP) $(WRKINST)/usr/share/* \
		$(IDIR_SYSTEMD)/usr/share

include $(ADK_TOPDIR)/mk/pkg-bottom.mk