summaryrefslogtreecommitdiff
path: root/package/systemd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-28 15:01:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-28 15:01:47 +0100
commitcd770ba2f42f437d8edcdc7ba282b51e513cdd1d (patch)
treebb182ac0c288339b7c2d7d3ac2acd0aeec829ae5 /package/systemd
parent981ca8fa48866f20389e690af79e1ae757e1a203 (diff)
add systemd instead of udev, prjects were merged upstream, add libudev subpackage. update and fix evdev driver for musl
Diffstat (limited to 'package/systemd')
-rw-r--r--package/systemd/Makefile54
-rw-r--r--package/systemd/files/udev.conffiles1
2 files changed, 55 insertions, 0 deletions
diff --git a/package/systemd/Makefile b/package/systemd/Makefile
new file mode 100644
index 000000000..c609f821c
--- /dev/null
+++ b/package/systemd/Makefile
@@ -0,0 +1,54 @@
+# 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:= systemd
+PKG_VERSION:= 208
+PKG_RELEASE:= 1
+PKG_MD5SUM:= df64550d92afbffb4f67a434193ee165
+PKG_DESCR:= System and Service Manager
+PKG_SECTION:= utils
+PKG_DEPENDS:= libblkid
+PKG_BUILDDEP:= usbutils glib kmod util-linux
+PKG_URL:= http://freedesktop.org/wiki/Software/systemd/
+PKG_SITES:= http://www.freedesktop.org/software/systemd/
+PKG_LIBNAME:= libudev
+PKG_OPTS:= dev
+
+PKG_LIBC_DEPENDS:= eglibc glibc musl
+PKG_SUBPKGS:= UDEV LIBUDEV
+PKGSC_LIBUDEV:= libs
+PKGSD_LIBUDEV:= UDEV library
+PKGSD_UDEV:= Dynamic device management subsystem
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS+= libmix
+endif
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,UDEV,udev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBUDEV,libudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+TARGET_LDFLAGS+= -lrt
+CONFIGURE_ARGS+= --disable-logging \
+ --disable-static \
+ --without-python \
+ --with-pci-ids-path=/usr/share/pci.ids \
+ --disable-introspection
+
+udev-install:
+ ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev
+ ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib/udev
+ ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
+ ${CP} ${WRKINST}/usr/lib/udev/* ${IDIR_UDEV}/usr/lib/udev
+ ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin
+
+libudev-install:
+ ${INSTALL_DIR} ${IDIR_LIBUDEV}/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_LIBUDEV)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/systemd/files/udev.conffiles b/package/systemd/files/udev.conffiles
new file mode 100644
index 000000000..50a5fb889
--- /dev/null
+++ b/package/systemd/files/udev.conffiles
@@ -0,0 +1 @@
+/etc/udev/udev.conf