Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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:= udev
  5. PKG_VERSION:= 151
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= aeae0e6273dcbec246c3c1b9868ebed1
  8. PKG_DESCR:= Dynamic device management subsystem
  9. PKG_SECTION:= base
  10. PKG_URL:= http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
  11. PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/kernel/hotplug/}
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. CFLINE_UDEV:= depends on ADK_TARGET_LIB_EGLIBC || ADK_TARGET_LIB_GLIBC\n\t
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,UDEV,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --disable-extras \
  17. --disable-logging \
  18. --disable-introspection
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_UDEV}/usr/sbin ${IDIR_UDEV}/etc/udev
  21. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  22. ${CP} ${WRKINST}/usr/sbin/udevd ${IDIR_UDEV}/usr/sbin
  23. ${CP} ${WRKINST}/usr/sbin/udevadm ${IDIR_UDEV}/usr/sbin
  24. include ${TOPDIR}/mk/pkg-bottom.mk