Changeset 22149


Ignore:
Timestamp:
2010-07-12T18:40:33+02:00 (6 years ago)
Author:
nico
Message:

[packages] ntfsprogs: disable crypto support explicitly, use libtool fixup & PKG_INSTALL, use $(CP) instead in $(INSTALL_BIN) (perms already set by upstream 'make install'), cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/ntfsprogs/Makefile

    r21866 r22149  
    1515PKG_SOURCE_URL:=@SF/linux-ntfs 
    1616PKG_MD5SUM:=2c402b647bb7aeb1d3f8ce1cc354fd68 
     17 
     18PKG_FIXUP:=libtool 
     19PKG_INSTALL:=1 
    1720 
    1821include $(INCLUDE_DIR)/package.mk 
     
    3437        --enable-shared \ 
    3538        --enable-static \ 
     39        --disable-crypto \ 
    3640        --disable-gnome-vfs \ 
    3741        --disable-ntfsmount 
    3842 
    39 define Build/Compile 
    40         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    41                 CC=$(TARGET_CC) \ 
    42                 CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ 
    43                 LDFLAGS="$(TARGET_LDFLAGS)" \ 
    44                 prefix=/usr \ 
    45                 DESTDIR=$(PKG_INSTALL_DIR) \ 
    46                 all install 
    47 endef 
    48  
    4943define Build/InstallDev 
    5044        $(INSTALL_DIR) $(1)/usr/include 
    51         $(CP) $(PKG_INSTALL_DIR)/usr/include/ntfs $(1)/usr/include 
     45        $(CP) $(PKG_INSTALL_DIR)/usr/include/ntfs $(1)/usr/include/ 
    5246        $(INSTALL_DIR) $(1)/usr/lib 
    53         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.{la,a,so*} $(1)/usr/lib 
     47        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.{la,a,so*} $(1)/usr/lib/ 
    5448endef 
    5549 
    5650define Package/ntfsprogs/install 
    5751        $(INSTALL_DIR) $(1)/usr/lib 
    58         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.so.* $(1)/usr/lib 
     52        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.so.* $(1)/usr/lib/ 
    5953        $(INSTALL_DIR) $(1)/usr/bin 
    60         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ntfsfix $(1)/usr/bin 
     54        $(CP) $(PKG_INSTALL_DIR)/usr/bin/ntfsfix $(1)/usr/bin/ 
    6155        $(INSTALL_DIR) $(1)/usr/sbin 
    62         $(FIND) $(PKG_INSTALL_DIR)/usr/sbin -type f -exec $(INSTALL_BIN) {} $(1)/usr/sbin \; 
     56        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/ 
    6357endef 
    6458 
Note: See TracChangeset for help on using the changeset viewer.