1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 17:54:39 +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,7 +31,14 @@ define Package/stardict/description
StarDict is a Cross-Platform and international dictionary Software.
endef
CONFIGURE_ARGS += \
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 \
@ -51,7 +57,9 @@ CONFIGURE_ARGS += \
--disable-wikiparse \
--disable-schemas-install \
--disable-deprecations \
--disable-gnome-support
--disable-gnome-support \
)
endef
define Package/stardict/install
$(INSTALL_DIR) $(1)/usr/bin