packages/net/bahamut/Makefile
florian 84c14f4609 Add bahamut IRC server
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-04 18:58:54 +00:00

55 lines
1.2 KiB
Makefile

#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
include $(TOPDIR)/rules.mk
PKG_NAME:=bahamut
PKG_VERSION:=1.8.3
PKG_RELEASE:=1
PKG_MD5SUM:=2e782fe99656433ca24f6a9832d9aad5
PKG_SOURCE_URL:=http://bahamut.dal.net/download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-release.tar.gz
include $(INCLUDE_DIR)/package.mk
define Package/bahamut
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libopenssl +zlib
TITLE:=Bahamut IRC server
URL:=http://bahamut.dal.net
endef
define Build/Configure
$(call Build/Configure/Default,\
--with-maxconnections=64 \
--with-openssl="$(STAGING_DIR)/usr/lib" \
,\
ac_cv_func_dn_skipname=yes \
)
endef
define Build/Compile
$(call Build/Compile/Default,\
prefix="$(PKG_INSTALL_DIR)/usr" \
INSTALL_DIR="$(PKG_INSTALL_DIR)" \
STAGING_DIR="$(STAGING_DIR)" \
all \
)
endef
define Package/bahamut/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ircd $(1)/usr/sbin
$(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/*.{txt,conf} $(1)/etc/$(PKG_NAME)
endef
$(eval $(call BuildPackage,bahamut))