[packages] update ntfs-3g to version 2009.4.4 (#5186)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16413 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
703a367823
commit
9480d84a0b
@ -8,43 +8,85 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ntfs-3g
|
PKG_NAME:=ntfs-3g
|
||||||
PKG_VERSION:=1.2531
|
PKG_VERSION:=2009.4.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||||
PKG_SOURCE_URL:=http://www.ntfs-3g.org/
|
PKG_SOURCE_URL:=http://www.ntfs-3g.org/
|
||||||
PKG_MD5SUM:=69374cd09803c5fdbb5dabd1d704b9fe
|
PKG_MD5SUM:=e0b5c170f088a8d82968f0a6b34d31da
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=libfuse
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/ntfs-3g
|
define Package/ntfs-3g/common
|
||||||
TITLE:=NTFS-3G
|
|
||||||
DEPENDS:=+libfuse +fuse-utils +libpthread
|
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
URL:=http://www.ntfs-3g.org
|
URL:=http://www.ntfs-3g.org
|
||||||
SUBMENU:=filesystem
|
SUBMENU:=filesystem
|
||||||
|
TITLE:=Stable Read/Write NTFS Driver (build options)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ntfs-3g/description
|
define Package/ntfs-3g/description
|
||||||
This package contains the third generation Read/Write NTFS driver
|
ntfs-3g is an NTFS driver, which can create, remove, rename,
|
||||||
|
move files, directories, hard links, and streams; it can read
|
||||||
|
and write files, including streams and sparse files; it can
|
||||||
|
handle special files like symbolic links, devices, and FIFOs;
|
||||||
|
moreover it can also read transparently compressed files.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/ntfs-3g
|
||||||
|
$(call Package/ntfs-3g/common)
|
||||||
|
DEPENDS+= +LINUX_2_4:kmod-fuse24 +libpthread +LINUX_2_6:kmod-fuse
|
||||||
|
MENU:=1
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/externalFUSE
|
||||||
|
$(call Package/ntfs-3g/common)
|
||||||
|
TITLE:=use external FUSE library (package libfuse)
|
||||||
|
DEFAULT:=n
|
||||||
|
DEPENDS+=ntfs-3g +libfuse
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/externalFUSE/description
|
||||||
|
Ntfs-3g by default uses a lite version of FUSE for the ease
|
||||||
|
of use and some special features. If you'd rather like to use
|
||||||
|
the systemwide standard FUSE library activate this option [M|*].
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--with-fuse=external \
|
|
||||||
, \
|
# insert config with external libfuse
|
||||||
ac_cv_path_LDCONFIG=""
|
ifdef CONFIG_PACKAGE_externalFUSE
|
||||||
|
CONFIGURE_ARGS += --with-fuse=external \
|
||||||
|
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||||
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
||||||
|
PKG_RELEASE:=$(PKG_RELEASE)-fuseext
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS += --with-fuse=internal
|
||||||
|
PKG_RELEASE:=$(PKG_RELEASE)-fuseint
|
||||||
|
endif
|
||||||
|
|
||||||
|
CONFIGURE_VARS+= \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
$(TARGET_CONFIGURE_OPTS) CPPFLAGS='' LDFLAGS=''
|
||||||
|
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
(cd $(PKG_BUILD_DIR) ; \
|
||||||
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
./configure \
|
||||||
|
$(CONFIGURE_ARGS) \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
@ -61,4 +103,7 @@ define Package/ntfs-3g/install
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.so.* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.so.* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# order matters!!! else a probably missing fuse lib might not be build beforehand
|
||||||
|
$(eval $(call BuildPackage,externalFUSE))
|
||||||
$(eval $(call BuildPackage,ntfs-3g))
|
$(eval $(call BuildPackage,ntfs-3g))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user