Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= systemd
  5. PKG_VERSION:= 208
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= df64550d92afbffb4f67a434193ee165
  8. PKG_DESCR:= System and Service Manager
  9. PKG_SECTION:= utils
  10. PKG_DEPENDS:= libblkid
  11. PKG_BUILDDEP:= usbutils glib kmod util-linux
  12. PKG_URL:= http://freedesktop.org/wiki/Software/systemd/
  13. PKG_SITES:= http://www.freedesktop.org/software/systemd/
  14. PKG_LIBNAME:= libudev
  15. PKG_OPTS:= dev
  16. PKG_LIBC_DEPENDS:= eglibc glibc musl
  17. PKG_SUBPKGS:= UDEV LIBUDEV
  18. PKGSC_LIBUDEV:= libs
  19. PKGSD_LIBUDEV:= UDEV library
  20. PKGSD_UDEV:= Dynamic device management subsystem
  21. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  22. ifeq ($(ADK_STATIC),y)
  23. PKG_OPTS+= libmix
  24. endif
  25. include ${TOPDIR}/mk/package.mk
  26. $(eval $(call PKG_template,UDEV,udev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  27. $(eval $(call PKG_template,LIBUDEV,libudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  28. TARGET_LDFLAGS+= -lrt
  29. CONFIGURE_ARGS+= --disable-logging \
  30. --disable-static \
  31. --without-python \
  32. --with-pci-ids-path=/usr/share/pci.ids \
  33. --disable-introspection
  34. udev-install:
  35. ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev
  36. ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib/udev
  37. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  38. ${CP} ${WRKINST}/usr/lib/udev/* ${IDIR_UDEV}/usr/lib/udev
  39. ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin
  40. libudev-install:
  41. ${INSTALL_DIR} ${IDIR_LIBUDEV}/usr/lib
  42. $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_LIBUDEV)/usr/lib
  43. include ${TOPDIR}/mk/pkg-bottom.mk