You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.0 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=libudev-fbsd
  6. PKG_SOURCE_DATE:=2017-12-16
  7. PKG_SOURCE_VERSION:=fa190fdf0b22a41b5f42e3a722f754c08ad7b337
  8. PKG_RELEASE:=1
  9. PKG_SOURCE_PROTO:=git
  10. PKG_SOURCE_URL:=https://github.com/jiixyj/libudev-fbsd.git
  11. PKG_MIRROR_HASH:=dac2d960191fe970c974f022d008ef3b712ad331e2426a51debd5aa2e208f02b
  12. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  13. PKG_LICENSE:=MIT
  14. PKG_LICENSE_FILES:=COPYING
  15. CMAKE_INSTALL:=1
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  19. define Package/libudev-fbsd
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. TITLE:=small udev shim for FreeBSD/devd (and other non-systemd)
  23. URL:=https://github.com/jiixyj/libudev-fbsd
  24. DEPENDS:=+libevdev
  25. PROVIDES:=libudev
  26. CONFLICTS:=libudev eudev udev
  27. endef
  28. define Package/libudev-fbsd/install
  29. $(INSTALL_DIR) $(1)/usr/lib
  30. $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
  31. endef
  32. $(eval $(call BuildPackage,libudev-fbsd))