1
0

Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= 171
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= bdf4617284be2ecac11767437417e209
  8. PKG_DESCR:= Dynamic device management subsystem
  9. PKG_SECTION:= utils
  10. PKG_BUILDDEP:= usbutils
  11. PKG_URL:= http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
  12. PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/kernel/hotplug/}
  13. PKG_CFLINE_UDEV:= depends on ADK_TARGET_LIB_EGLIBC || ADK_TARGET_LIB_GLIBC
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,UDEV,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --disable-extras \
  18. --disable-logging \
  19. --disable-udev_acl \
  20. --with-pci-ids-path=/usr/share/pci.ids \
  21. --disable-introspection
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_UDEV}/usr/sbin ${IDIR_UDEV}/etc/udev
  24. ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_UDEV)/usr/lib
  26. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  27. ${CP} ${WRKINST}/usr/sbin/udevd ${IDIR_UDEV}/usr/sbin
  28. ${CP} ${WRKINST}/usr/sbin/udevadm ${IDIR_UDEV}/usr/sbin
  29. include ${TOPDIR}/mk/pkg-bottom.mk