1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 13:10:37 +02:00

cleanup Makefile, change install-paths

This commit is contained in:
Mirko Vogt 2010-03-02 17:44:03 +01:00
parent 53c481971c
commit 72a8d995af

View File

@ -35,41 +35,47 @@ TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/lib/libintl/include
TARGET_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/libintl/lib TARGET_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/libintl/lib
TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_CMD=./autogen.sh CONFIGURE_CMD =./autogen.sh
define Build/Configure CONFIGURE_ARGS += \
$(call Build/Configure/Default, \ --disable-dependency-tracking \
--disable-dependency-tracking \ --disable-libtool-lock \
--disable-libtool-lock \ --disable-spell \
--disable-spell \ --disable-gucharmap \
--disable-gucharmap \ --disable-festival \
--disable-festival \ --disable-espeak \
--disable-espeak \ --disable-dictdotcn \
--disable-dictdotcn \ --disable-advertisement \
--disable-advertisement \ --disable-man \
--disable-man \ --disable-qqwry \
--disable-qqwry \ --disable-updateinfo \
--disable-updateinfo \ --disable-htmlparse \
--disable-htmlparse \ --disable-xdxfparse \
--disable-xdxfparse \ --disable-wordnet \
--disable-wordnet \ --disable-powerwordparse \
--disable-powerwordparse \ --disable-wikiparse \
--disable-wikiparse \ --disable-schemas-install \
--disable-schemas-install \ --disable-deprecations \
--disable-deprecations \ --disable-gnome-support \
--disable-gnome-support \ --enable-nanonote-support
--enable-nanonote-support \
)
endef
define Package/stardict/install define Package/stardict/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) \
$(INSTALL_DIR) $(1)/usr/share $(1)/usr/bin \
$(INSTALL_DIR) $(1)/usr/share/pixmaps $(1)/usr/share \
$(1)/usr/share/icons
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stardict $(1)/usr/bin/ $(INSTALL_BIN) \
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/pixmaps/stardict.png $(1)/usr/share/pixmaps/ $(PKG_INSTALL_DIR)/usr/bin/stardict \
$(CP) $(PKG_INSTALL_DIR)/usr/share/stardict $(1)/usr/share/ $(1)/usr/bin/
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/share/pixmaps/stardict.png \
$(1)/usr/share/icons/
$(CP) \
$(PKG_INSTALL_DIR)/usr/share/stardict \
$(1)/usr/share/
endef endef
$(eval $(call BuildPackage,stardict)) $(eval $(call BuildPackage,stardict))