massive Makefile cleanup, add missing 'svn:keywords' property
[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 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+glib1 +libncurses
28 TITLE:=console irc client
29 URL:=http://irssi.org/
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --with-perl=no \
35 --with-glib1 \
36 --with-glib-prefix="$(STAGING_DIR)/usr" \
37 --with-textui \
38 --without-terminfo \
39 --without-bot \
40 --without-file-offset-size \
41 --without-ssl \
42 --disable-ssl \
43 --disable-ipv6 \
44 --disable-proxy \
45 )
46 endef
47
48 define Package/irssi/install
49 install -d -m0755 $(1)/usr/bin
50 install -m0755 $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,irssi))