2 # Copyright (C) 2006-2012 OpenWrt.org
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_URL
:=ftp
://oss.sgi.com
/projects
/xfs
/previous
/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_MD5SUM
:=049cf9873794ea49d0bb3f12d45748a4
18 PKG_LICENSE
:=GPL-2.0 LGPL-2.1
19 PKG_LICENSE_FILES
:=debian
/copyright
23 PKG_CHECK_FORMAT_SECURITY
:=0
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/nls.mk
28 define Package
/xfsprogs
/default
32 DEPENDS
:=+libuuid
+libpthread
+librt
33 URL
:=http
://oss.sgi.com
/projects
/xfs
36 define Package
/xfs-mkfs
37 $(call Package
/xfsprogs
/default
)
38 TITLE
:=Utility for creating XFS filesystems
41 define Package
/xfs-fsck
42 $(call Package
/xfsprogs
/default
)
43 TITLE
:=Utilities for checking and repairing XFS filesystems
46 define Package
/xfs-growfs
47 $(call Package
/xfsprogs
/default
)
48 TITLE
:=Utility for increasing the size of XFS filesystems
57 -I
$(STAGING_DIR
)/usr
/include \
58 -D_LARGEFILE64_SOURCE \
59 -D_FILE_OFFSET_BITS
=64 \
67 prefix=$(PKG_INSTALL_DIR
)/usr \
68 exec_prefix=$(PKG_INSTALL_DIR
)/usr \
69 PKG_SBIN_DIR
=$(PKG_INSTALL_DIR
)/usr
/sbin \
70 PKG_ROOT_SBIN_DIR
=$(PKG_INSTALL_DIR
)/sbin \
71 PKG_MAN_DIR
=$(PKG_INSTALL_DIR
)/usr
/man \
72 PKG_LOCALE_DIR
=$(PKG_INSTALL_DIR
)/usr
/share
/locale \
73 PKG_ROOT_LIB_DIR
=$(PKG_INSTALL_DIR
)/lib \
74 PKG_DOC_DIR
=$(PKG_INSTALL_DIR
)/usr
/share
/doc
/xfsprogs
76 define Package
/xfs-mkfs
/install
78 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/sbin
/mkfs.xfs
$(1)/sbin
81 define Package
/xfs-fsck
/install
83 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/sbin
/xfs_repair
$(1)/sbin
84 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xfs_db
$(1)/sbin
87 define Package
/xfs-growfs
/install
89 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xfs_growfs
$(1)/sbin
92 $(eval
$(call BuildPackage
,xfs-mkfs
))
93 $(eval
$(call BuildPackage
,xfs-fsck
))
94 $(eval
$(call BuildPackage
,xfs-growfs
))