1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-26 03:06:15 +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:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/ PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL:=1 PKG_INSTALL:=1
@ -32,26 +31,35 @@ define Package/stardict/description
StarDict is a Cross-Platform and international dictionary Software. StarDict is a Cross-Platform and international dictionary Software.
endef endef
CONFIGURE_ARGS += \ TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/lib/libintl/include
--disable-dependency-tracking \ TARGET_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/libintl/lib
--disable-libtool-lock \ TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
--disable-spell \
--disable-gucharmap \ CONFIGURE_CMD=./autogen.sh
--disable-festival \
--disable-espeak \ define Build/Configure
--disable-dictdotcn \ $(call Build/Configure/Default, \
--disable-advertisement \ --disable-dependency-tracking \
--disable-man \ --disable-libtool-lock \
--disable-qqwry \ --disable-spell \
--disable-updateinfo \ --disable-gucharmap \
--disable-htmlparse \ --disable-festival \
--disable-xdxfparse \ --disable-espeak \
--disable-wordnet \ --disable-dictdotcn \
--disable-powerwordparse \ --disable-advertisement \
--disable-wikiparse \ --disable-man \
--disable-schemas-install \ --disable-qqwry \
--disable-deprecations \ --disable-updateinfo \
--disable-gnome-support --disable-htmlparse \
--disable-xdxfparse \
--disable-wordnet \
--disable-powerwordparse \
--disable-wikiparse \
--disable-schemas-install \
--disable-deprecations \
--disable-gnome-support \
)
endef
define Package/stardict/install define Package/stardict/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin