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:= 182
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e31c83159b017e8ab0fa2f4bca758a41
  8. PKG_DESCR:= Dynamic device management subsystem
  9. PKG_SECTION:= utils
  10. PKG_BUILDDEP:= usbutils glib kmod
  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_OPTS:= dev
  14. PKG_LIBC_DEPENDS:= eglibc glibc musl
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,UDEV,udev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. TARGET_LDFLAGS+= -lrt
  19. CONFIGURE_ARGS+= --disable-logging \
  20. --with-pci-ids-path=/usr/share/pci.ids \
  21. --disable-introspection
  22. udev-install:
  23. ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev
  24. ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib ${IDIR_UDEV}/usr/libexec/udev
  25. $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_UDEV)/usr/lib
  26. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  27. ${CP} ${WRKINST}/usr/libexec/udev/* ${IDIR_UDEV}/usr/libexec/udev
  28. ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin
  29. include ${TOPDIR}/mk/pkg-bottom.mk