Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:= eudev
  5. PKG_VERSION:= 1.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 164df78f6f0093578a20bdd00335845f
  8. PKG_DESCR:= udev device manager
  9. PKG_SECTION:= 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. PKG_SUBPKGS:= UDEV LIBUDEV LIBGUDEV
  17. PKGSC_LIBGUDEV:= libs
  18. PKGSD_LIBGUDEV:= GUDEV library
  19. PKGSC_LIBUDEV:= libs
  20. PKGSD_LIBUDEV:= UDEV library
  21. PKGSD_UDEV:= Dynamic device management subsystem
  22. include $(TOPDIR)/mk/package.mk
  23. $(eval $(call PKG_template,UDEV,udev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  24. $(eval $(call PKG_template,LIBUDEV,libudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  25. $(eval $(call PKG_template,LIBGUDEV,libgudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  26. CONFIGURE_ARGS+= --disable-manpages \
  27. --disable-gtk-doc
  28. udev-install:
  29. ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev
  30. ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib/udev
  31. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  32. ${CP} ${WRKINST}/usr/lib/udev/* ${IDIR_UDEV}/usr/lib/udev
  33. ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin
  34. libudev-install:
  35. ${INSTALL_DIR} ${IDIR_LIBUDEV}/usr/lib
  36. $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_LIBUDEV)/usr/lib
  37. libgudev-install:
  38. ${INSTALL_DIR} ${IDIR_LIBGUDEV}/usr/lib
  39. $(CP) $(WRKINST)/usr/lib/libgudev*.so* $(IDIR_LIBGUDEV)/usr/lib
  40. include ${TOPDIR}/mk/pkg-bottom.mk