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.

51 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. PKG_SOURCE_DATE:=2017-11-30
  10. PKG_SOURCE_VERSION:=079be662dde374a383646256108a4974c2bc7796
  11. PKG_RELEASE:=3
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
  13. PKG_SOURCE_URL:=https://codeload.github.com/phhusson/quassel-irssi/tar.gz/$(PKG_SOURCE_VERSION)?
  14. PKG_HASH:=c276a92a47f8edf5ae1d9db0e72a69d078f2f3f80e055853fc6d06099d898966
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
  16. PKG_MAINTAINER:=Ben Rosser <rosser.bjr@gmail.com>
  17. PKG_LICENSE:=GPL-3.0-or-later
  18. PKG_LICENSE_FILES:=core/COPYING
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. include $(INCLUDE_DIR)/nls.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))