1
0

Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= eudev
  5. PKG_VERSION:= 2.1.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 6aef101c5496a2dc45e669307d478dbccb0ee0462a285512edcda51ff12e0e6a
  8. PKG_DESCR:= device manager (udev clone)
  9. PKG_SECTION:= sys/utils
  10. PKG_BUILDDEP:= gperf-host glib
  11. PKG_DEPENDS:= glib
  12. PKG_URL:= http://www.gentoo.org/proj/en/eudev/
  13. PKG_SITES:= http://dev.gentoo.org/~blueness/eudev/
  14. PKG_LIBNAME:= libudev
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. PKG_SUBPKGS:= UDEV LIBUDEV
  18. PKGSD_UDEV:= dynamic device management manager
  19. PKGSC_LIBUDEV:= libs/misc
  20. PKGSD_LIBUDEV:= dynamic device management library
  21. include $(ADK_TOPDIR)/mk/package.mk
  22. $(eval $(call PKG_template,UDEV,udev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  23. $(eval $(call PKG_template,LIBUDEV,libudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  24. CONFIGURE_ARGS+= --disable-manpages \
  25. --disable-gudev \
  26. --disable-gtk-doc
  27. udev-install:
  28. ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev
  29. ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib/udev
  30. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  31. ${CP} ${WRKINST}/usr/lib/udev/* ${IDIR_UDEV}/usr/lib/udev
  32. ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin
  33. libudev-install:
  34. ${INSTALL_DIR} ${IDIR_LIBUDEV}/usr/lib
  35. $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_LIBUDEV)/usr/lib
  36. include ${ADK_TOPDIR}/mk/pkg-bottom.mk