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.

53 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:=2016-09-11
  12. PKG_SOURCE_VERSION:=cbd9bd7f4ac44260d9fcafb809fdf153cde193e5
  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.bz2
  19. PKG_MIRROR_HASH:=fd13b2497e3b0d0779e0ce3d8b27c37e207d2a73b5b6dc0cb2799bd4472fc5e1
  20. PKG_MAINTAINER:=Ben Rosser <rosser.bjr@gmail.com>
  21. PKG_INSTALL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. MAKE_PATH := core
  24. MAKE_VARS += SYSTEM_QUASSELC=1 IRSSI_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" IRSSI_INCLUDE=$(STAGING_DIR)/usr/include/irssi
  25. define Package/quassel-irssi
  26. SECTION:=net
  27. CATEGORY:=Network
  28. DEPENDS:=+irssi +quasselc
  29. SUBMENU:=Instant Messaging
  30. URL:=https://github.com/phhusson/quassel-irssi
  31. TITLE:=An irssi plugin to connect to quassel core
  32. endef
  33. define Package/quassel-irssi/description
  34. An irssi plugin that supports connecting to a quassel core.
  35. endef
  36. define Package/quassel-irssi/install
  37. $(INSTALL_DIR) $(1)/usr/lib/irssi/modules/
  38. $(CP) $(PKG_INSTALL_DIR)/usr/lib/irssi/modules/libquassel_core.so* $(1)/usr/lib/irssi/modules/
  39. endef
  40. $(eval $(call BuildPackage,quassel-irssi))