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