1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 13:31:45 +02:00

[stardict] update Makefile. run autogen.sh to create configure

This commit is contained in:
Xiangfu Liu 2010-01-27 17:56:41 +08:00
parent 05be3873a5
commit 57c08dc2f9

View File

@ -13,7 +13,6 @@ 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
@ -32,26 +31,35 @@ define Package/stardict/description
StarDict is a Cross-Platform and international dictionary Software.
endef
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
TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/lib/libintl/include
TARGET_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/libintl/lib
TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_CMD=./autogen.sh
define Build/Configure
$(call Build/Configure/Default, \
--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 \
)
endef
define Package/stardict/install
$(INSTALL_DIR) $(1)/usr/bin