mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 13:41:53 +02:00
cleanup Makefile, change install-paths
This commit is contained in:
parent
53c481971c
commit
72a8d995af
@ -37,8 +37,7 @@ TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
CONFIGURE_CMD =./autogen.sh
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-dependency-tracking \
|
||||
--disable-libtool-lock \
|
||||
--disable-spell \
|
||||
@ -58,18 +57,25 @@ define Build/Configure
|
||||
--disable-schemas-install \
|
||||
--disable-deprecations \
|
||||
--disable-gnome-support \
|
||||
--enable-nanonote-support \
|
||||
)
|
||||
endef
|
||||
--enable-nanonote-support
|
||||
|
||||
define Package/stardict/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_DIR) $(1)/usr/share
|
||||
$(INSTALL_DIR) $(1)/usr/share/pixmaps
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/bin \
|
||||
$(1)/usr/share \
|
||||
$(1)/usr/share/icons
|
||||
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stardict $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/pixmaps/stardict.png $(1)/usr/share/pixmaps/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/stardict $(1)/usr/share/
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/stardict \
|
||||
$(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
|
||||
|
||||
$(eval $(call BuildPackage,stardict))
|
||||
|
Loading…
Reference in New Issue
Block a user