Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= xfsprogs
  5. PKG_VERSION:= 3.1.11
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be
  8. PKG_DESCR:= utilities for xfs filesystems
  9. PKG_SECTION:= sys/fs
  10. PKG_BUILDDEP:= e2fsprogs util-linux ncurses
  11. PKG_DEPENDS:= libuuid libpthread libblkid librt libncurses
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. PKG_LIBC_DEPENDS:= glibc
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,XFSPROGS,xfsprogs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. INSTALL_STYLE:= manual
  20. TARGET_LDFLAGS+= -lrt
  21. CONFIGURE_ARGS+= --enable-gettext=no \
  22. --with-gnu-ld
  23. CONFIGURE_ENV+= DEBUG=" " OPTIMIZER=" " PLATFORM=linux
  24. ALL_TARGET=
  25. do-install:
  26. ${INSTALL_DIR} ${IDIR_XFSPROGS}/usr/sbin
  27. ${INSTALL_BIN} ${WRKBUILD}/mkfs/mkfs.xfs ${IDIR_XFSPROGS}/usr/sbin
  28. ${INSTALL_BIN} ${WRKBUILD}/repair/xfs_repair ${IDIR_XFSPROGS}/usr/sbin
  29. ${INSTALL_BIN} ${WRKBUILD}/growfs/xfs_growfs ${IDIR_XFSPROGS}/usr/sbin
  30. include ${ADK_TOPDIR}/mk/pkg-bottom.mk