1
0

Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_MAINTAINER:=Ben Rosser <rosser.bjr@gmail.com>
  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))