2009-11-29 18:10:08 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009 Qi Hardware Inc.
|
|
|
|
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=stardict
|
|
|
|
PKG_VERSION:=3.0.1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/stardict
|
|
|
|
TITLE:=stardict
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2009-12-28 19:00:25 +02:00
|
|
|
DEPENDS:=+libintl +libiconv +libgnomeui
|
2009-11-29 18:10:08 +02:00
|
|
|
URL:=
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/stardict/description
|
|
|
|
StarDict is a Cross-Platform and international dictionary Software.
|
|
|
|
endef
|
|
|
|
|
2009-12-28 19:00:25 +02:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-libtool-lock \
|
|
|
|
--disable-spell \
|
|
|
|
--disable-gucharmap \
|
|
|
|
--disable-festival \
|
|
|
|
--disable-espeak \
|
|
|
|
--disable-dictdotcn \
|
|
|
|
--disable-advertisement \
|
|
|
|
--disable-man \
|
|
|
|
--disable-qqwry \
|
|
|
|
--disable-updateinfo \
|
|
|
|
--disable-htmlparse \
|
|
|
|
--disable-xdxfparse \
|
|
|
|
--disable-wordnet \
|
|
|
|
--disable-powerwordparse \
|
|
|
|
--disable-wikiparse \
|
|
|
|
--disable-schemas-install \
|
|
|
|
--disable-deprecations
|
|
|
|
|
|
|
|
# --disable-gnome-support
|
2009-11-29 18:10:08 +02:00
|
|
|
|
|
|
|
define Package/stardict/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stardict $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,stardict))
|