1
0

Makefile 1.2 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 ${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
  11. PKG_DEPENDS:= libuuid libpthread libblkid librt libgcc
  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_LIBC_DEPENDS:= eglibc glibc
  16. PKG_TARGET_DEPENDS:= !atmel-ngw100
  17. include ${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=" "
  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 ${TOPDIR}/mk/pkg-bottom.mk