2008-04-13 10:16:45 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2008 OpenWrt.org
|
2007-09-20 11:05:14 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ntfs-3g
|
2008-07-07 14:48:00 +00:00
|
|
|
PKG_VERSION:=1.2531
|
|
|
|
PKG_RELEASE:=1
|
2007-09-20 11:05:14 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
|
|
|
PKG_SOURCE_URL:=http://www.ntfs-3g.org/
|
2008-07-07 14:48:00 +00:00
|
|
|
PKG_MD5SUM:=69374cd09803c5fdbb5dabd1d704b9fe
|
2007-09-20 11:05:14 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DEPENDS:=libfuse
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ntfs-3g
|
|
|
|
TITLE:=NTFS-3G
|
2008-04-13 10:16:45 +00:00
|
|
|
DEPENDS:=+libfuse +fuse-utils +libpthread
|
2007-09-20 11:05:14 +00:00
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
URL:=http://www.ntfs-3g.org
|
2007-10-18 19:03:20 +00:00
|
|
|
SUBMENU:=filesystem
|
2007-09-20 11:05:14 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ntfs-3g/description
|
|
|
|
This package contains the third generation Read/Write NTFS driver
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
2008-07-07 14:48:00 +00:00
|
|
|
--with-fuse=external \
|
2007-09-20 11:05:14 +00:00
|
|
|
, \
|
|
|
|
ac_cv_path_LDCONFIG=""
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
ARCH="$(LINUX_KARCH)" \
|
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2007-10-07 03:20:26 +00:00
|
|
|
mkdir -p $(1)/usr/include
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/ntfs-3g $(1)/usr/include/
|
|
|
|
mkdir -p $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.{a,so*} $(1)/usr/lib/
|
2007-09-20 11:05:14 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ntfs-3g/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ntfs-3g $(1)/usr/bin/
|
2007-09-20 11:05:14 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.so.* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ntfs-3g))
|