Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.10
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d6159f7a664d95b4c150d580399d4400
  8. PKG_DESCR:= Utilities for XFS filesystems
  9. PKG_SECTION:= fs
  10. PKG_BUILDDEP:= e2fsprogs util-linux ncurses
  11. PKG_DEPENDS:= libuuid libpthread libblkid librt libgcc
  12. PKG_DEPENDS+= libncurses
  13. PKG_URL:= http://oss.sgi.com/projects/xfs
  14. PKG_SITES:= ftp://oss.sgi.com/projects/xfs/cmd_tars/ \
  15. ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
  16. PKG_LIBC_DEPENDS:= glibc
  17. PKG_TARGET_DEPENDS:= !atmel-ngw100
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,XFSPROGS,xfsprogs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. INSTALL_STYLE:= manual
  21. TARGET_LDFLAGS+= -lrt
  22. CONFIGURE_ARGS+= --enable-gettext=no \
  23. --with-gnu-ld
  24. CONFIGURE_ENV+= DEBUG=" " OPTIMIZER=" "
  25. ALL_TARGET=
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_XFSPROGS}/usr/sbin
  28. ${INSTALL_BIN} ${WRKBUILD}/mkfs/mkfs.xfs ${IDIR_XFSPROGS}/usr/sbin
  29. ${INSTALL_BIN} ${WRKBUILD}/repair/xfs_repair ${IDIR_XFSPROGS}/usr/sbin
  30. ${INSTALL_BIN} ${WRKBUILD}/growfs/xfs_growfs ${IDIR_XFSPROGS}/usr/sbin
  31. include ${TOPDIR}/mk/pkg-bottom.mk