Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= udev
  7. PKG_VERSION:= 077
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 61ec646daf7795e9777e8f33975408fe
  10. MASTER_SITES:= ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
  11. http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
  12. ftp://ftp.de.kernel.org/pub/linux/utils/kernel/hotplug/ \
  13. http://ftp.de.kernel.org/pub/linux/utils/kernel/hotplug/ \
  14. ftp://ftp.fr.kernel.org/pub/linux/utils/kernel/hotplug/ \
  15. http://ftp.fr.kernel.org/pub/linux/utils/kernel/hotplug/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,UDEV,udev,${PKG_VERSION}-${PKG_RELEASE}))
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. XAKE_FLAGS+= CROSS="${TARGET_CROSS}" \
  22. STRIP="/bin/true" \
  23. OPTFLAGS="${TARGET_CFLAGS}" \
  24. INSTALL="install -c"
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_UDEV}/etc/udev/
  27. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev/
  28. ${INSTALL_DIR} ${IDIR_UDEV}/lib/udev
  29. ${INSTALL_DIR} ${IDIR_UDEV}/sbin/
  30. ${CP} ${WRKINST}/sbin/udev ${IDIR_UDEV}/sbin/
  31. ${CP} ${WRKINST}/sbin/udevcontrol ${IDIR_UDEV}/sbin/
  32. ${CP} ${WRKINST}/sbin/udevd ${IDIR_UDEV}/sbin/
  33. ${CP} ${WRKINST}/sbin/udevsend ${IDIR_UDEV}/sbin/
  34. ${CP} ${WRKINST}/sbin/udevstart ${IDIR_UDEV}/sbin/
  35. ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin/
  36. ${CP} ${WRKINST}/usr/bin/udevinfo ${IDIR_UDEV}/usr/bin/
  37. ${CP} ${WRKINST}/usr/bin/udevtest ${IDIR_UDEV}/usr/bin/
  38. ${INSTALL_DIR} ${IDIR_UDEV}/usr/sbin/
  39. ${CP} ${WRKINST}/usr/sbin/udevmonitor ${IDIR_UDEV}/usr/sbin/
  40. include ${TOPDIR}/mk/pkg-bottom.mk