2009-05-17 16:09:36 +00:00
#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := znc
PKG_VERSION := 0.068
2009-07-18 00:01:59 +00:00
PKG_RELEASE := 2
2009-05-17 16:09:36 +00:00
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
2009-06-13 17:01:55 +00:00
PKG_SOURCE_URL := @SF/znc
2009-05-17 16:09:36 +00:00
PKG_MD5SUM := 763162d90c67814780de67aa88347c38
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / z n c
SUBMENU:= Instant Messaging
SECTION:= net
CATEGORY:= Network
2009-07-18 00:01:59 +00:00
DEPENDS:= +libopenssl +uclibcxx
2009-05-17 16:09:36 +00:00
TITLE:= ZNC
URL:= http://en.znc.in/
e n d e f
d e f i n e P a c k a g e / z n c / d e s c r i p t i o n
ZNC is an IRC bouncer with many advanced features like detaching, multiple users, per channel playback buffer, SSL, IPv6, transparent DCC bouncing, and c++ module
support to name a few.
e n d e f
CONFIGURE_VARS += \
CXX = " $( TARGET_CROSS) -g++ "
CXXFLAGS = " $( TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ " \
CPPFLAGS = " -I $( STAGING_DIR) /usr/include -I $( STAGING_DIR) /include " \
LDFLAGS = " -nodefaultlibs -L $( STAGING_DIR) /usr/lib -L $( STAGING_DIR) /lib "
LIBS = "-luClibc++ -lc -lm -lgcc -lssl"
CONFIGURE_ARGS += \
$( TARGET_CONFIGURE_OPTS) \
--disable-perl \
--disable-ipv6 \
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default,)
$( call libtool_disable_rpath)
e n d e f
d e f i n e B u i l d / C o m p i l e
$( call Build/Compile/Default,)
e n d e f
d e f i n e P a c k a g e / z n c / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /znc $( 1) /usr/bin/
e n d e f
$( eval $ ( call BuildPackage ,znc ) )