remove dependency on libiconv, fix lua plugin
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4977 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7afcb164ad
commit
c3bd027f44
@ -4,17 +4,17 @@
|
|||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
# $Id: $
|
# $Id$
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=weechat
|
PKG_NAME:=weechat
|
||||||
PKG_VERSION:=0.2.0
|
PKG_VERSION:=0.2.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MD5SUM:=69c292237bebd4b7a1ff29c0f9c76380
|
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://weechat.flashtux.org/download/
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
PKG_SOURCE_URL:=http://weechat.flashtux.org/download/
|
||||||
|
PKG_MD5SUM:=69c292237bebd4b7a1ff29c0f9c76380
|
||||||
PKG_CAT:=bzcat
|
PKG_CAT:=bzcat
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
@ -25,42 +25,41 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/weechat
|
define Package/weechat
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+libncurses +liblua +libgnutls +libiconv
|
DEPENDS:=+libncurses +liblua +libgnutls
|
||||||
TITLE:=Lightweight IRC client
|
TITLE:=Lightweight IRC client
|
||||||
DESCRIPTION:=\
|
DESCRIPTION:=\
|
||||||
Weechat is fast, light & extensible IRC client.
|
Weechat is fast, light & extensible IRC client.
|
||||||
URL:=http://weechat.flashtux.org
|
URL:=http://weechat.flashtux.org/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
(cd $(PKG_BUILD_DIR); \
|
$(call Build/Configure/Default, \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -liconv" \
|
|
||||||
./configure \
|
|
||||||
--target=$(GNU_TARGET_NAME) \
|
|
||||||
--host=$(GNU_TARGET_NAME) \
|
|
||||||
--build=$(GNU_HOST_NAME) \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-nls \
|
|
||||||
--with-libgnutls-prefix=$(STAGING_DIR)/usr \
|
|
||||||
--with-debug=0 \
|
--with-debug=0 \
|
||||||
|
--with-libgnutls-prefix=$(STAGING_DIR)/usr \
|
||||||
|
--without-doc-xsl-prefix \
|
||||||
|
--without-libiconv-prefix \
|
||||||
|
--without-libintl-prefix \
|
||||||
|
--disable-aspell \
|
||||||
|
--enable-lua \
|
||||||
|
--with-lua-inc="$(STAGING_DIR)/usr/include" \
|
||||||
|
--with-lua-lib="$(STAGING_DIR)/usr/lib" \
|
||||||
--disable-perl \
|
--disable-perl \
|
||||||
--disable-python \
|
--disable-python \
|
||||||
--disable-ruby \
|
--disable-ruby \
|
||||||
);
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
all install)
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/weechat/install
|
define Package/weechat/install
|
||||||
install -d -m0755 $(1)/usr/bin
|
install -d -m0755 $(1)/usr/bin
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/weechat-curses $(1)/usr/bin
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/weechat-curses $(1)/usr/bin/
|
||||||
|
install -d -m0755 $(1)/usr/lib/weechat/plugins
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/weechat/plugins/lua.so* $(1)/usr/lib/weechat/plugins/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,weechat))
|
$(eval $(call BuildPackage,weechat))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user