Ignore:
Timestamp:
2011-01-26T14:34:27+01:00 (6 years ago)
Author:
bud
Message:
  • add lowntfs-3g variant
  • include mount helper per default in (low)ntfs-3g packages, essentially it's only a symlink so no space wasted
  • bump version to latest stable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/ntfs-3g/Makefile

    r25020 r25113  
    1111PKG_RELEASE:=1 
    1212 
    13 PKG_VERSION:=2010.10.2 
     13PKG_VERSION:=2011.1.15 
    1414 
    1515## 2010.3.6 needs a recent uclibc 0.9.30.2 or greater 
     
    2929PKG_MD5SUM_2010.8.8:=6c109746c2708f679725a2ea441c61c6 
    3030PKG_MD5SUM_2010.10.2:=91405690f25822142cdcb43d03e62d3f 
     31PKG_MD5SUM_2010.1.15:=15a5cf5752012269fa168c24191f00e2 
    3132PKG_MD5SUM:=$(PKG_MD5SUM_$(PKG_VERSION)) 
    3233 
     
    6667   - ntfs-3g 
    6768   - ntfs-3g.probe 
     69   - mount.ntfs-3g (symlink to ntfs-3g) 
    6870 
    6971endef 
     
    7880        etc.) it makes sense to activate this option and save some kilobytes 
    7981        of space. 
     82 
     83endef 
     84 
     85define Package/ntfs-3g-low 
     86  $(call Package/ntfs-3g/common) 
     87  TITLE:=lowntfs-3g (alternative using the fuse low-level interface) 
     88  DEPENDS+= +ntfs-3g 
     89endef 
     90 
     91define Package/ntfs-3g-low/description 
     92  Contains: 
     93   - lowntfs-3g 
     94   - mount.lowntfs-3g (symlink to lowntfs-3g) 
     95 
     96  A driver variant using the fuse low-level interface missing some of the  
     97  enhanced functionality for streams or the like. You might want to check: 
     98  http://www.tuxera.com/community/ntfs-3g-manual/ 
    8099 
    81100endef 
     
    95114   - ntfs-3g.usermap 
    96115 
    97 endef 
    98  
    99 define Package/mount.ntfs-3g 
    100   $(call Package/ntfs-3g/common) 
    101   TITLE:=ntfs-3g mount helper 
    102   DEPENDS+= +ntfs-3g 
    103 endef 
    104  
    105 define Package/mount.ntfs-3g/description 
    106   ntfs-3g mount helper. You must enable busybox mount helper too. 
    107116endef 
    108117 
     
    139148        $(INSTALL_DIR) $(1)/usr/lib 
    140149        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.so.* $(1)/usr/lib/ 
    141 endef 
    142  
    143 define Package/mount.ntfs-3g/install 
    144150        $(INSTALL_DIR) $(1)/sbin 
    145151        $(CP) $(PKG_INSTALL_DIR)/sbin/mount.ntfs-3g $(1)/sbin/ 
    146152endef 
    147153 
    148 define Package/mount.ntfs-3g/postinst 
     154define Package/ntfs-3g/postinst 
    149155#!/bin/sh 
    150156 
    151157if [ -z "$$(grep ^\\ntfs-3g: $${IPKG_INSTROOT}/etc/filesystems)" ]; then 
    152158        echo "ntfs-3g" >> $${IPKG_INSTROOT}/etc/filesystems 
     159fi 
     160 
     161endef 
     162 
     163define Package/ntfs-3g-low/install 
     164        $(INSTALL_DIR) $(1)/usr/bin 
     165        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lowntfs-3g $(1)/usr/bin/ 
     166        $(INSTALL_DIR) $(1)/sbin 
     167        $(CP) $(PKG_INSTALL_DIR)/sbin/mount.lowntfs-3g $(1)/sbin/ 
     168endef 
     169 
     170define Package/ntfs-3g-low/postinst 
     171#!/bin/sh 
     172 
     173if [ -z "$$(grep ^\\lowntfs-3g: $${IPKG_INSTROOT}/etc/filesystems)" ]; then 
     174        echo "lowntfs-3g" >> $${IPKG_INSTROOT}/etc/filesystems 
    153175fi 
    154176 
     
    161183 
    162184$(eval $(call BuildPackage,ntfs-3g)) 
     185$(eval $(call BuildPackage,ntfs-3g-low)) 
    163186$(eval $(call BuildPackage,ntfs-3g-utils)) 
    164 $(eval $(call BuildPackage,mount.ntfs-3g)) 
    165187 
Note: See TracChangeset for help on using the changeset viewer.