2 # Copyright (C) 2010 Gianluigi Tiesi <sherpya@netfarm.it>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/linux-ntfs
16 PKG_MD5SUM:=2c402b647bb7aeb1d3f8ce1cc354fd68
21 include $(INCLUDE_DIR)/package.mk
23 define Package/ntfsprogs
28 URL:=http://www.linux-ntfs.org/
29 MAINTAINER:=Gianluigi Tiesi <sherpya@netfarm.it>
32 define Package/ntfsprogs/description
33 Tools for managing NTFS volumes from Linux
43 define Build/InstallDev
44 $(INSTALL_DIR) $(1)/usr/include
45 $(CP) $(PKG_INSTALL_DIR)/usr/include/ntfs $(1)/usr/include/
46 $(INSTALL_DIR) $(1)/usr/lib
47 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.{la,a,so*} $(1)/usr/lib/
50 define Package/ntfsprogs/install
51 $(INSTALL_DIR) $(1)/usr/lib
52 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs.so.* $(1)/usr/lib/
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(CP) $(PKG_INSTALL_DIR)/usr/bin/ntfsfix $(1)/usr/bin/
55 $(INSTALL_DIR) $(1)/usr/sbin
56 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
59 $(eval $(call BuildPackage,ntfsprogs))