Makefile 1006 B

12345678910111213141516171819202122232425262728293031
  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:= 142
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3edc4cf383dccb06d866c5156d59ddd5
  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. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,UDEV,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_UDEV}/usr/sbin ${IDIR_UDEV}/etc/udev
  20. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  21. ${CP} ${WRKINST}/usr/sbin/udevd ${IDIR_UDEV}/usr/sbin
  22. ${CP} ${WRKINST}/usr/sbin/udevadm ${IDIR_UDEV}/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk