Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= utils
  10. PKG_URL:= http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
  11. PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/kernel/hotplug/}
  12. PKG_CFLINE_UDEV:= depends on ADK_TARGET_LIB_EGLIBC || ADK_TARGET_LIB_GLIBC
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  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. ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_UDEV)/usr/lib
  23. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  24. ${CP} ${WRKINST}/usr/sbin/udevd ${IDIR_UDEV}/usr/sbin
  25. ${CP} ${WRKINST}/usr/sbin/udevadm ${IDIR_UDEV}/usr/sbin
  26. include ${TOPDIR}/mk/pkg-bottom.mk