2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-release.
tar.gz
15 PKG_SOURCE_URL
:=http
://bahamut.dal.net
/download
16 PKG_MD5SUM
:=a814a4e0ff1fabcf026ea8574b4a1e20
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/bahamut
23 DEPENDS
:=+libopenssl
+zlib
24 SUBMENU
:=Instant Messaging
25 TITLE
:=Bahamut IRC server
26 URL
:=http
://bahamut.dal.net
30 -DSYS_ERRLIST_DECLARED
32 define Build
/Configure
33 $(call Build
/Configure
/Default
,\
34 --with-maxconnections
=64 \
35 --with-openssl
="$(STAGING_DIR)/usr/lib" \
37 ac_cv_func_dn_skipname
=yes \
38 ZLIB_HOME
="$(STAGING_DIR)/usr" \
43 $(call Build
/Compile
/Default
,\
44 prefix="$(PKG_INSTALL_DIR)/usr" \
45 INSTALL_DIR
="$(PKG_INSTALL_DIR)" \
46 STAGING_DIR
="$(STAGING_DIR)" \
51 define Package
/bahamut
/install
52 $(INSTALL_DIR
) $(1)/usr
/sbin
53 $(INSTALL_DIR
) $(1)/etc
/$(PKG_NAME
)
54 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/ircd
$(1)/usr
/sbin
55 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/doc
/*.
{txt
,conf
} $(1)/etc
/$(PKG_NAME
)
58 $(eval
$(call BuildPackage
,bahamut
))