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.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=6b9a805f4408f3887e75a9d14c69ab93
16 PKG_SOURCE_URL
:=http
://bahamut.dal.net
/download
/
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-release.
tar.gz
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/bahamut
24 DEPENDS
:=+libopenssl
+zlib
25 TITLE
:=Bahamut IRC server
26 URL
:=http
://bahamut.dal.net
29 define Build
/Configure
30 $(call Build
/Configure
/Default
,\
31 --with-maxconnections
=64 \
32 --with-openssl
="$(STAGING_DIR)/usr/lib" \
34 ac_cv_func_dn_skipname
=yes \
39 $(call Build
/Compile
/Default
,\
40 prefix="$(PKG_INSTALL_DIR)/usr" \
41 INSTALL_DIR
="$(PKG_INSTALL_DIR)" \
42 STAGING_DIR
="$(STAGING_DIR)" \
47 define Package
/bahamut
/install
48 $(INSTALL_DIR
) $(1)/usr
/sbin
49 $(INSTALL_DIR
) $(1)/etc
/$(PKG_NAME
)
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/ircd
$(1)/usr
/sbin
51 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/doc
/*.
{txt
,conf
} $(1)/etc
/$(PKG_NAME
)
54 $(eval
$(call BuildPackage
,bahamut
))