Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= xfsprogs
  5. PKG_VERSION:= 3.1.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b1db37749e2b4149a0dd178abff956be
  8. PKG_DESCR:= Utilities for XFS filesystems
  9. PKG_SECTION:= fs
  10. PKG_BUILDDEP:= e2fsprogs
  11. PKG_DEPENDS:= libuuid libpthread
  12. PKG_URL:= http://oss.sgi.com/projects/xfs
  13. PKG_SITES:= ftp://oss.sgi.com/projects/xfs/cmd_tars/ \
  14. ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
  15. PKG_CFLINE_XFSPROGS:= depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,XFSPROGS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. INSTALL_STYLE:= manual
  19. TARGET_LDFLAGS+= -lrt
  20. CONFIGURE_ARGS+= --enable-gettext=no \
  21. --with-gnu-ld
  22. CONFIGURE_ENV+= DEBUG=" " OPTIMIZER=" "
  23. ALL_TARGET=
  24. do-install:
  25. ${INSTALL_DIR} ${IDIR_XFSPROGS}/usr/sbin
  26. ${INSTALL_BIN} ${WRKBUILD}/mkfs/mkfs.xfs ${IDIR_XFSPROGS}/usr/sbin
  27. ${INSTALL_BIN} ${WRKBUILD}/repair/xfs_repair ${IDIR_XFSPROGS}/usr/sbin
  28. include ${TOPDIR}/mk/pkg-bottom.mk