Changeset 20555


Ignore:
Timestamp:
2010-03-28T23:41:44+02:00 (8 years ago)
Author:
nbd
Message:

linux-atm: clean up package installation into staging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/linux-atm/Makefile

    r20387 r20555  
    5757endef 
    5858 
    59 ifneq ($(CONFIG_PACKAGE_linux-atm),) 
    60   define Build/InstallDev 
    61         mkdir -p $(1)/usr/include 
    62         $(CP)   $(PKG_BUILD_DIR)/src/include/atm{,d,sap}.h \ 
    63                 $(1)/usr/include/ 
    64         mkdir -p $(1)/usr/lib 
    65         $(CP)   $(PKG_BUILD_DIR)/src/lib/.libs/libatm.{a,so*} \ 
    66                 $(1)/usr/lib/ 
    67   endef 
    68 endif 
     59define Build/InstallDev 
     60        $(INSTALL_DIR) $(1)/usr 
     61        $(CP) \ 
     62                $(PKG_INSTALL_DIR)/usr/include \ 
     63                $(PKG_INSTALL_DIR)/usr/lib \ 
     64                $(1)/usr/ 
     65endef 
    6966 
    7067define Package/linux-atm/install 
    7168        $(INSTALL_DIR) $(1)/usr/lib 
    72         $(CP) $(PKG_BUILD_DIR)/src/lib/.libs/libatm.so.* $(1)/usr/lib/ 
     69        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libatm.so* $(1)/usr/lib/ 
    7370endef 
    7471 
Note: See TracChangeset for help on using the changeset viewer.