2 # Copyright (C) 2010-2011 OpenWrt.org
3 # Copyright (C) 2010 Gianluigi Tiesi <sherpya@netfarm.it>
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/linux-ntfs
17 PKG_MD5SUM:=2c402b647bb7aeb1d3f8ce1cc354fd68
21 PKG_BUILD_DEPENDS:=libgcrypt
23 include $(INCLUDE_DIR)/package.mk
25 define Package/ntfsprogs
30 URL:=http://www.linux-ntfs.org/
31 MAINTAINER:=Gianluigi Tiesi <sherpya@netfarm.it>
34 define Package/ntfsprogs/description
35 Tools for managing NTFS volumes from Linux
45 define Build/InstallDev
46 $(INSTALL_DIR) $(1)/usr/include
47 $(CP) $(PKG_INSTALL_DIR)/usr/include/ntfs $(1)/usr/include/
48 $(INSTALL_DIR) $(1)/usr/lib
49 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.{la,a,so*} $(1)/usr/lib/
52 define Package/ntfsprogs/install
53 $(INSTALL_DIR) $(1)/usr/lib
54 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.so.* $(1)/usr/lib/
55 $(INSTALL_DIR) $(1)/usr/bin
56 $(CP) $(PKG_INSTALL_DIR)/usr/bin/ntfsfix $(1)/usr/bin/
57 $(INSTALL_DIR) $(1)/usr/sbin
58 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
61 $(eval $(call BuildPackage,ntfsprogs))