florian 4de5143b4e [package] get the enable/disable ipv6 configure option from the build system, do not override it locally
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 11:57:29 +00:00

52 lines
1.1 KiB
Makefile

#
# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=irssi-glib1
PKG_VERSION:=0.8.10
PKG_RELEASE:=3
PKG_SOURCE:=irssi-$(PKG_VERSION)a.tar.bz2
PKG_SOURCE_URL:=http://irssi.org/files/
PKG_MD5SUM:=38e616bccb6a34ff6d91690317c2fa19
PKG_BUILD_DIR:=$(BUILD_DIR)/irssi-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/irssi-glib1
SUBMENU:=Instant Messaging
SECTION:=net
CATEGORY:=Network
DEPENDS:=+glib1 +libncurses
TITLE:=glib1 console irc client
URL:=http://irssi.org/
endef
define Build/Configure
$(call Build/Configure/Default, \
--with-perl=no \
--with-glib1 \
--with-glib-prefix="$(STAGING_DIR)/usr" \
--with-textui \
--without-terminfo \
--without-bot \
--without-file-offset-size \
--without-ssl \
--disable-ssl \
--disable-proxy \
)
endef
define Package/irssi-glib1/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/irssi-glib1
endef
$(eval $(call BuildPackage,irssi-glib1))