aboutsummaryrefslogtreecommitdiffstats
path: root/package/ntfs-3g
diff options
context:
space:
mode:
Diffstat (limited to 'package/ntfs-3g')
-rw-r--r--package/ntfs-3g/ntfs-3g.mk19
1 files changed, 12 insertions, 7 deletions
diff --git a/package/ntfs-3g/ntfs-3g.mk b/package/ntfs-3g/ntfs-3g.mk
index 8e26b0d2f..b23b95818 100644
--- a/package/ntfs-3g/ntfs-3g.mk
+++ b/package/ntfs-3g/ntfs-3g.mk
@@ -3,13 +3,14 @@
# ntfs-3g
#
#############################################################
-NTFS-3G_VERSION:=1.2506
+#NTFS-3G_VERSION:=1.2506
+NTFS-3G_VERSION:=1.5130
NTFS-3G_SOURCE:=ntfs-3g-$(NTFS-3G_VERSION).tgz
NTFS-3G_SITE:=www.ntfs-3g.org
NTFS-3G_DIR:=$(BUILD_DIR)/ntfs-3g-$(NTFS-3G_VERSION)
NTFS-3G_BINARY:=ntfs-3g
-
+http://www.ntfs-3g.org/ntfs-3g-1.5130.tgz
$(DL_DIR)/$(NTFS-3G_SOURCE):
$(WGET) -P $(DL_DIR) $(NTFS-3G_SITE)/$(NTFS-3G_SOURCE)
@@ -55,8 +56,11 @@ $(STAGING_DIR)/usr/bin/ntfs-3g: $(NTFS-3G_DIR)/.compiled
touch -c $@
$(TARGET_DIR)/usr/bin/ntfs-3g: $(STAGING_DIR)/usr/bin/ntfs-3g
- cp -dpf $(STAGING_DIR)/usr/lib/libntfs-3g.so.* $(TARGET_DIR)/usr/lib/
- cp -dpf $(STAGING_DIR)/usr/bin/ntfs-3g $(TARGET_DIR)/usr/bin/
+ rm -f $(TARGET_DIR)/lib/libntfs-3g.so.*
+ cp -dpf $(STAGING_DIR)/lib/libntfs-3g.so.* $(TARGET_DIR)/lib/
+ -unlink $(TARGET_DIR)/usr/lib/libntfs-3g*
+ ln -s /lib/libntfs-3g.so $(TARGET_DIR)/usr/lib/libntfs-3g.so
+ cp -dpf $(STAGING_DIR)/bin/ntfs-3g $(TARGET_DIR)/bin/
touch -c $@
ntfs-3g: uclibc pkgconfig libfuse $(TARGET_DIR)/usr/bin/ntfs-3g
@@ -64,9 +68,10 @@ ntfs-3g: uclibc pkgconfig libfuse $(TARGET_DIR)/usr/bin/ntfs-3g
ntfs-3g-source: $(DL_DIR)/$(NTFS-3G_SOURCE)
ntfs-3g-clean:
- $(MAKE) prefix=$(STAGING_DIR)/usr -C $(NTFS-3G_DIR) uninstall
- rm -f $(TARGET_DIR)/usr/lib/libntfs-3g*
- rm -f $(TARGET_DIR)/usr/bin/ntfs-3g
+ $(MAKE) DESTDIR=$(STAGING_DIR) -C $(NTFS-3G_DIR) uninstall
+ unlink $(TARGET_DIR)/usr/lib/libntfs-3g*
+ rm -f $(TARGET_DIR)/lib/libntfs-3g*
+ rm -f $(TARGET_DIR)/bin/ntfs-3g
-$(MAKE) -C $(NTFS-3G_DIR) clean
ntfs-3g-dirclean: