2014-03-27 07:06:02 +00:00
|
|
|
#
|
2008-10-28 23:08:11 +00:00
|
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=eggdrop
|
|
|
|
PKG_VERSION:=1.6.17
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=eggdrop$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=ftp://ftp.eggheads.org/pub/eggdrop/source/1.6
|
|
|
|
PKG_MD5SUM:=68e181201483dee398f9904e8652e6ca
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
|
2010-10-10 18:06:12 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
2008-10-28 23:08:11 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/eggdrop
|
|
|
|
SECTION:=lang
|
2008-11-01 18:22:57 +00:00
|
|
|
CATEGORY:=Languages
|
2008-10-28 23:08:11 +00:00
|
|
|
TITLE:=EggDrop IRC BOT
|
2012-06-12 23:47:36 +00:00
|
|
|
DEPENDS:=+tcl +zlib
|
2008-10-28 23:08:11 +00:00
|
|
|
URL:=http://www.eggheads.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/eggdrop/description
|
|
|
|
EggDrop IRC BOT
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=\
|
|
|
|
--prefix="$(PKG_INSTALL_DIR)/eggdrop" \
|
|
|
|
--enable-threads \
|
2010-10-10 17:58:03 +00:00
|
|
|
--with-tcllib="$(STAGING_DIR)/usr/lib/libtcl8.5.so" \
|
2008-10-28 23:08:11 +00:00
|
|
|
--with-tclinc="$(STAGING_DIR)/usr/include/tcl.h"
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) config -C $(PKG_BUILD_DIR)
|
2010-10-10 18:06:12 +00:00
|
|
|
$(call Build/Compile/Default)
|
2008-10-28 23:08:11 +00:00
|
|
|
endef
|
|
|
|
|
2010-10-10 18:06:12 +00:00
|
|
|
define Build/Install
|
|
|
|
$(call Build/Install/Default)
|
|
|
|
rm -Rvf $(PKG_INSTALL_DIR)/eggdrop/doc
|
|
|
|
endef
|
2008-10-28 23:08:11 +00:00
|
|
|
|
|
|
|
define Package/eggdrop/install
|
|
|
|
$(INSTALL_DIR) $(1)/eggdrop
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/eggdrop
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,eggdrop))
|