Ignore:
Timestamp:
2012-02-07T16:16:18+01:00 (5 years ago)
Author:
acinonyx
Message:

[packages] libssh2: Cleanup package Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libssh2/Makefile

    r30348 r30357  
    1515PKG_SOURCE_URL:=http://www.libssh2.org/download/ 
    1616PKG_MD5SUM:=ee670161d8c5dff93ae84a3f34f15669 
     17PKG_INSTALL:=1 
    1718 
    1819include $(INCLUDE_DIR)/package.mk 
     
    2930CONFIGURE_ARGS += --with-libssl-prefix=$(STAGING_DIR)/usr 
    3031 
    31 define Build/Compile 
    32         $(MAKE) $(MAKE_FLAGS) -C $(PKG_BUILD_DIR)/src all 
    33 endef 
    34  
    35 define Build/Install 
    36         $(MAKE) $(MAKE_FLAGS) -C $(PKG_BUILD_DIR)/src install DESTDIR=$(PKG_INSTALL_DIR) 
    37         $(MAKE) $(MAKE_FLAGS) -C $(PKG_BUILD_DIR) install-includeHEADERS DESTDIR=$(PKG_INSTALL_DIR) 
    38 endef 
    39  
    4032define Build/InstallDev 
    4133        $(INSTALL_DIR) $(1)/usr/include 
    4234        $(INSTALL_DIR) $(1)/usr/lib 
    43         $(CP) \ 
    44                 $(PKG_INSTALL_DIR)/usr/include/*h \ 
    45                 $(1)/usr/include/ 
    46         $(CP) \ 
    47                 $(PKG_INSTALL_DIR)/usr/lib/libssh2.so* \ 
    48                 $(1)/usr/lib/ 
     35        $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ 
     36        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libssh2.so* $(1)/usr/lib/ 
    4937endef 
    5038 
Note: See TracChangeset for help on using the changeset viewer.