[package] rename the old irssi package into irssi-glib1 to prevent collision (#4881)
[openwrt/svn-archive/archive.git] / net / irssi-glib1 / Makefile
index 9a93fe4..1a41210 100644 (file)
@@ -8,24 +8,24 @@
 
 include $(TOPDIR)/rules.mk
 
-PKG_NAME:=irssi
+PKG_NAME:=irssi-glib1
 PKG_VERSION:=0.8.10
 PKG_RELEASE:=2
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)a.tar.bz2
+PKG_SOURCE:=irssi-$(PKG_VERSION)a.tar.bz2
 PKG_SOURCE_URL:=http://irssi.org/files/
 PKG_MD5SUM:=38e616bccb6a34ff6d91690317c2fa19
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/irssi-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/irssi
+define Package/irssi-glib1
   SUBMENU:=Instant Messaging
   SECTION:=net
   CATEGORY:=Network
   DEPENDS:=+glib1 +libncurses
-  TITLE:=console irc client
+  TITLE:=glib1 console irc client
   URL:=http://irssi.org/
 endef
 
@@ -45,9 +45,9 @@ define Build/Configure
        )
 endef
 
-define Package/irssi/install   
+define Package/irssi-glib1/install     
        $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/irssi-glib1
 endef
 
-$(eval $(call BuildPackage,irssi))
+$(eval $(call BuildPackage,irssi-glib1))