1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 975284783fb3fbc4e1ae640bd804d788e4237a86b07582acee86b6e48f6521b7
10 PKG_DESCR
:= utilities for xfs filesystems
12 PKG_DEPENDS
:= libuuid libblkid libncurses libinih liburcu
13 PKG_BUILDDEP
:= e2fsprogs ncurses libinih liburcu
15 PKG_URL
:= http
://oss.sgi.com
/projects
/xfs
16 PKG_SITES
:= https
://www.kernel.org
/pub
/linux
/utils
/fs
/xfs
/xfsprogs
/
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call PKG_template
,XFSPROGS
,xfsprogs
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_LDFLAGS
+= -lblkid
-luuid
25 INSTALL_STYLE
:= manual
26 CONFIGURE_ARGS
+= --enable-gettext
=no \
29 CONFIGURE_ENV
+= DEBUG
=" " OPTIMIZER
=" " PLATFORM
=linux \
30 ac_cv_header_aio_h
=yes ac_cv_lib_rt_lio_listio
=yes
34 ${INSTALL_DIR} ${IDIR_XFSPROGS}/usr
/sbin
35 ${INSTALL_BIN} ${WRKBUILD}/mkfs
/mkfs.xfs
${IDIR_XFSPROGS}/usr
/sbin
36 ${INSTALL_BIN} ${WRKBUILD}/repair
/xfs_repair
${IDIR_XFSPROGS}/usr
/sbin
37 ${INSTALL_BIN} ${WRKBUILD}/growfs
/xfs_growfs
${IDIR_XFSPROGS}/usr
/sbin
39 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk