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.

54 lines
1.6 KiB

  1. #
  2. # Copyright (C) 2016 Ben Rosser <rosser.bjr@gmail.com>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=quassel-irssi
  9. # quassel-irssi upstream doesn't release versions (at least, at the moment),
  10. # so use commit date for PKG_VERSION and embed commit hash into PKG_RELEASE.
  11. PKG_VERSION:=2017-01-17
  12. PKG_SOURCE_VERSION:=19e810405789a35b92026b56ea49d01a3f544b07
  13. PKG_RELEASE:=1.$(PKG_SOURCE_VERSION)
  14. PKG_LICENSE:=GPL-3.0+
  15. PKG_SOURCE_PROTO:=git
  16. PKG_SOURCE_URL:=https://github.com/phhusson/quassel-irssi
  17. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  18. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
  19. PKG_MIRROR_HASH:=5ad9416ce4d522dc3bb1b487063339f559928dcefa8aef4ce88ab93d5f4d5352
  20. PKG_MAINTAINER:=Ben Rosser <rosser.bjr@gmail.com>
  21. PKG_BUILD_PARALLEL:=1
  22. PKG_INSTALL:=1
  23. include $(INCLUDE_DIR)/package.mk
  24. MAKE_PATH := core
  25. MAKE_VARS += IRSSI_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" IRSSI_INCLUDE=$(STAGING_DIR)/usr/include/irssi
  26. define Package/quassel-irssi
  27. SECTION:=net
  28. CATEGORY:=Network
  29. DEPENDS:=+irssi
  30. SUBMENU:=Instant Messaging
  31. URL:=https://github.com/phhusson/quassel-irssi
  32. TITLE:=An irssi plugin to connect to quassel core
  33. endef
  34. define Package/quassel-irssi/description
  35. An irssi plugin that supports connecting to a quassel core.
  36. endef
  37. define Package/quassel-irssi/install
  38. $(INSTALL_DIR) $(1)/usr/lib/irssi/modules/
  39. $(CP) $(PKG_INSTALL_DIR)/usr/lib/irssi/modules/libquassel_core.so* $(1)/usr/lib/irssi/modules/
  40. endef
  41. $(eval $(call BuildPackage,quassel-irssi))