2 # Copyright (C) 2007-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=http
://www.ntfs-3g.org
/
17 PKG_MD5SUM
:=69374cd09803c5fdbb5dabd1d704b9fe
19 PKG_BUILD_DEPENDS
:=libfuse
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/ntfs-3g
25 DEPENDS
:=+libfuse
+fuse-utils
+libpthread
28 URL
:=http
://www.ntfs-3g.org
32 define Package
/ntfs-3g
/description
33 This package contains the third generation Read
/Write NTFS driver
39 --with-fuse
=external \
41 ac_cv_path_LDCONFIG
=""
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 ARCH
="$(LINUX_KARCH)" \
46 CROSS_COMPILE
="$(TARGET_CROSS)" \
47 DESTDIR
="$(PKG_INSTALL_DIR)" \
51 define Build
/InstallDev
52 mkdir
-p
$(1)/usr
/include
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/ntfs-3g
$(1)/usr
/include/
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libntfs-3g.
{a
,so
*} $(1)/usr
/lib
/
58 define Package
/ntfs-3g
/install
59 $(INSTALL_DIR
) $(1)/usr
/bin
60 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/ntfs-3g
$(1)/usr
/bin
/
61 $(INSTALL_DIR
) $(1)/usr
/lib
62 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libntfs-3g.so.
* $(1)/usr
/lib
/
65 $(eval
$(call BuildPackage
,ntfs-3g
))