mk/image.mk: Ship /init in initramfs
[openadk.git] / package / xfsprogs / Makefile
blobe7ce06e4898bbdb4a6910016dd7e21b68478db7a
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
6 PKG_NAME:= xfsprogs
7 PKG_VERSION:= 5.13.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 4e142d4babe086adf9016d8c606c805829da08e46389a4433f40346204f90cdb
10 PKG_DESCR:= utilities for xfs filesystems
11 PKG_SECTION:= sys/fs
12 PKG_DEPENDS:= libuuid libblkid libncurses libinih
13 PKG_BUILDDEP:= e2fsprogs ncurses libinih
14 PKG_NEEDS:= threads
15 PKG_URL:= http://oss.sgi.com/projects/xfs
16 PKG_SITES:= https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/
18 PKG_NOPARALLEL:= 1
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 \
27 --enable-blkid=yes \
28 --with-gnu-ld
29 CONFIGURE_ENV+= DEBUG=" " OPTIMIZER=" " PLATFORM=linux \
30 ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes
31 ALL_TARGET=
33 do-install:
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