Changeset 25261


Ignore:
Timestamp:
2011-01-31T12:23:14+01:00 (7 years ago)
Author:
hcg
Message:

[packages] cppunit: Fix install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/devel/cppunit/Makefile

    r25202 r25261  
    1616PKG_MD5SUM:=bd30e9cf5523cdfc019b94f5e1d7fd19 
    1717 
     18include $(INCLUDE_DIR)/host-build.mk 
    1819include $(INCLUDE_DIR)/package.mk 
    1920 
     
    2930endef 
    3031 
     32define Build/Compile 
     33        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install 
     34endef 
     35 
    3136define Build/InstallDev 
    32         echo InstallDev installing to $(1) 
    3337        $(INSTALL_DIR) $(1)/usr/include/cppunit 
    34         $(CP) $(PKG_BUILD_DIR)/include/cppunit/* $(1)/usr/include/cppunit/ 
     38        $(CP) $(PKG_INSTALL_DIR)/usr/include/cppunit $(1)/usr/include 
    3539        $(INSTALL_DIR) $(1)/usr/lib 
    36         $(CP) $(PKG_BUILD_DIR)/src/cppunit/.libs/libcppunit*so* $(1)/usr/lib/ 
    37         $(INSTALL_DIR) $(STAGING_DIR)/usr/include/cppunit 
    38         $(CP) $(PKG_BUILD_DIR)/include/cppunit/* $(STAGING_DIR)/usr/include/cppunit/ 
    39         $(INSTALL_DIR) $(STAGING_DIR)/usr/lib 
    40         $(CP) $(PKG_BUILD_DIR)/src/cppunit/.libs/libcppunit*so* $(STAGING_DIR)/usr/lib/ 
     40        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcppunit*so* $(1)/usr/lib/ 
    4141endef 
    4242 
    4343define Package/cppunit/install 
    44         echo install installing to $(1) 
    4544        $(INSTALL_DIR) $(1)/usr/lib 
    46         $(CP) $(PKG_BUILD_DIR)/src/cppunit/.libs/libcppunit*so* $(1)/usr/lib/ 
     45        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcppunit*so* $(1)/usr/lib/ 
    4746endef 
    4847 
Note: See TracChangeset for help on using the changeset viewer.