Browse Source

systemd: add new package and needed gettext, only compile time tested

Waldemar Brodkorb 7 years ago
parent
commit
cd0a0087f9
2 changed files with 99 additions and 0 deletions
  1. 28 0
      package/gettext/Makefile
  2. 71 0
      package/systemd/Makefile

+ 28 - 0
package/gettext/Makefile

@@ -0,0 +1,28 @@
+# 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:=		gettext
+PKG_VERSION:=		0.19.8
+PKG_RELEASE:=		1
+PKG_HASH:=		9c1781328238caa1685d7bc7a2e1dcf1c6c134e86b42ed554066734b621bd12f
+PKG_DESCR:=		i18n tools and libs
+PKG_SECTION:=		libs/misc
+PKG_URL:=		https://www.gnu.org/software/gettext/
+PKG_SITES:=		http://ftp.gnu.org/pub/gnu/gettext/
+PKG_OPTS:=		dev
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+gettext-install:
+	$(INSTALL_DIR) $(IDIR_GETTEXT)/usr/lib
+	$(CP) $(WRKINST)/usr/lib/libgettext*.so* \
+		$(IDIR_GETTEXT)/usr/lib
+
+include $(ADK_TOPDIR)/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk

+ 71 - 0
package/systemd/Makefile

@@ -0,0 +1,71 @@
+# 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
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk