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.

50 lines
1.5 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:=1
  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+
  18. PKG_LICENSE_FILES:=core/COPYING
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. MAKE_PATH := core
  23. MAKE_VARS += SYSTEM_QUASSELC=1 IRSSI_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" IRSSI_INCLUDE=$(STAGING_DIR)/usr/include/irssi
  24. define Package/quassel-irssi
  25. SECTION:=net
  26. CATEGORY:=Network
  27. DEPENDS:=+irssi +quasselc
  28. SUBMENU:=Instant Messaging
  29. URL:=https://github.com/phhusson/quassel-irssi
  30. TITLE:=An irssi plugin to connect to quassel core
  31. endef
  32. define Package/quassel-irssi/description
  33. An irssi plugin that supports connecting to a quassel core.
  34. endef
  35. define Package/quassel-irssi/install
  36. $(INSTALL_DIR) $(1)/usr/lib/irssi/modules/
  37. $(CP) $(PKG_INSTALL_DIR)/usr/lib/irssi/modules/libquassel_core.so* $(1)/usr/lib/irssi/modules/
  38. endef
  39. $(eval $(call BuildPackage,quassel-irssi))