Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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.5.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 51380938b489385cc394f4ebabc048f0
  8. PKG_DESCR:= device manager (udev clone)
  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
  17. PKGSD_UDEV:= Dynamic device management manager
  18. PKGSC_LIBUDEV:= libs
  19. PKGSD_LIBUDEV:= Dynamic device management library
  20. ifeq ($(ADK_STATIC),y)
  21. PKG_OPTS+= libmix
  22. endif
  23. include $(TOPDIR)/mk/package.mk
  24. $(eval $(call PKG_template,UDEV,udev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  25. $(eval $(call PKG_template,LIBUDEV,libudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  26. CONFIGURE_ARGS+= --disable-manpages \
  27. --datadir=${STAGING_TARGET_PREFIX}/usr/lib \
  28. --disable-gtk-doc
  29. udev-install:
  30. ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev
  31. ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib/udev
  32. ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
  33. ${CP} ${WRKINST}/usr/lib/udev/* ${IDIR_UDEV}/usr/lib/udev
  34. ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin
  35. libudev-install:
  36. ${INSTALL_DIR} ${IDIR_LIBUDEV}/usr/lib
  37. $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_LIBUDEV)/usr/lib
  38. include ${TOPDIR}/mk/pkg-bottom.mk