summaryrefslogtreecommitdiffstats
path: root/package/ntfs-3g/ntfs-3g.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-10 00:23:58 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-10 00:23:58 +0000
commit5cf17da1dea7216b6d8648d6cb3c7469e27004ed (patch)
tree2c15503d7005d122a630ba30d7645a4d2161c890 /package/ntfs-3g/ntfs-3g.mk
parent786efd1aa25235053fb8e707632e7ab1db086797 (diff)
downloadbuildroot-5cf17da1dea7216b6d8648d6cb3c7469e27004ed.tar.gz
buildroot-5cf17da1dea7216b6d8648d6cb3c7469e27004ed.zip
Bump version of ntfs-3g to 1-5130, This will build in lib regardless of prefix=
Diffstat (limited to 'package/ntfs-3g/ntfs-3g.mk')
-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 8e26b0d2f8..b23b958182 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:
OpenPOWER on IntegriCloud