Change Details
plplot/Makefile |
363 | 363 | endef |
364 | 364 | |
365 | 365 | # ugly, but necessary: compiling demo-programs on install, using the just |
366 | | # installed libs. |
| 366 | # installed libs. Note that the PKG_CONFIG_ENV= override used below sets |
| 367 | # environment variables that would usually be handled by openwrt's |
| 368 | # include/package.mk (Build/Exports/Default), but aren't available for the |
| 369 | # install targets. |
367 | 370 | define Package/plplot-demo/install |
368 | | $(SED) 's;/usr/lib/pkgconfig;$(STAGING_DIR)/usr/lib/pkgconfig;g' \ |
369 | | $(PKG_INSTALL_DIR)/usr/share/plplot$(PKG_VERSION)/examples/c/Makefile |
370 | 371 | $(MAKE) -C $(PKG_INSTALL_DIR)/usr/share/plplot$(PKG_VERSION)/examples/c/ \ |
371 | 372 | C_INCLUDE_PATH=$(STAGING_DIR)/usr/include/plplot \ |
372 | 373 | CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CFLAGS) $(TARGET_LDFLAGS)"\ |
373 | | RPATHCMD= |
374 | | |
| 374 | RPATHCMD= \ |
| 375 | PKG_CONFIG_ENV="STAGING_PREFIX=$(STAGING_DIR)/usr PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) PKG_CONFIG_LIBDIR=$(PKG_CONFIG_PATH)" |
375 | 376 | $(INSTALL_DIR) $(1)/usr/bin |
376 | 377 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/plplot$(PKG_VERSION)/examples/c/x??c \ |
377 | 378 | $(1)/usr/bin/ |
Download the corresponding diff file