2 # Copyright (C) 2006-2008 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
13 PKG_SOURCE_URL
:=http
://ftp.debian.org
/pool
/main
/x
/xfsprogs
14 PKG_MD5SUM
:=23568a603c913b80076abe3c23521573
16 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.gz
20 include $(INCLUDE_DIR
)/package.mk
21 include $(INCLUDE_DIR
)/nls.mk
23 define Package
/xfsprogs
/default
26 DEPENDS
:=+libuuid
+libpthread
+librt
27 URL
:=http
://oss.sgi.com
/projects
/xfs
30 define Package
/xfs-mkfs
31 $(call Package
/xfsprogs
/default
)
32 TITLE
:=Utility for creating XFS filesystems
35 define Package
/xfs-fsck
36 $(call Package
/xfsprogs
/default
)
37 TITLE
:=Utilities for checking and repairing XFS filesystems
40 define Package
/xfs-growfs
41 $(call Package
/xfsprogs
/default
)
42 TITLE
:=Utility for increasing the size of XFS filesystems
46 -I
$(STAGING_DIR
)/usr
/include \
47 -D_LARGEFILE64_SOURCE \
48 -D_FILE_OFFSET_BITS
=64 \
56 prefix=$(PKG_INSTALL_DIR
)/usr \
57 exec_prefix=$(PKG_INSTALL_DIR
)/usr \
58 PKG_SBIN_DIR
=$(PKG_INSTALL_DIR
)/usr
/sbin \
59 PKG_ROOT_SBIN_DIR
=$(PKG_INSTALL_DIR
)/sbin \
60 PKG_MAN_DIR
=$(PKG_INSTALL_DIR
)/usr
/man \
61 PKG_LOCALE_DIR
=$(PKG_INSTALL_DIR
)/usr
/share
/locale \
62 PKG_ROOT_LIB_DIR
=$(PKG_INSTALL_DIR
)/lib \
63 PKG_DOC_DIR
=$(PKG_INSTALL_DIR
)/usr
/share
/doc
/xfsprogs
65 define Package
/xfs-mkfs
/install
67 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/sbin
/mkfs.xfs
$(1)/sbin
70 define Package
/xfs-fsck
/install
72 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/sbin
/xfs_repair
$(1)/sbin
73 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xfs_db
$(1)/sbin
76 define Package
/xfs-growfs
/install
78 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xfs_growfs
$(1)/sbin
81 $(eval
$(call BuildPackage
,xfs-mkfs
))
82 $(eval
$(call BuildPackage
,xfs-fsck
))
83 $(eval
$(call BuildPackage
,xfs-growfs
))