Category reorganization
[openwrt/svn-archive/archive.git] / net / irssi / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=irssi
12 PKG_VERSION:=0.8.10
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)a.tar.bz2
16 PKG_SOURCE_URL:=http://irssi.org/files/
17 PKG_MD5SUM:=38e616bccb6a34ff6d91690317c2fa19
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/irssi
25 SUBMENU:=Instant Messaging
26 SECTION:=net
27 CATEGORY:=Network
28 DEPENDS:=+glib1 +libncurses
29 TITLE:=console irc client
30 URL:=http://irssi.org/
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --with-perl=no \
36 --with-glib1 \
37 --with-glib-prefix="$(STAGING_DIR)/usr" \
38 --with-textui \
39 --without-terminfo \
40 --without-bot \
41 --without-file-offset-size \
42 --without-ssl \
43 --disable-ssl \
44 --disable-ipv6 \
45 --disable-proxy \
46 )
47 endef
48
49 define Package/irssi/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/
52 endef
53
54 $(eval $(call BuildPackage,irssi))