Makefile 831 B

123456789101112131415161718192021222324252627282930313233
  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:= aufs2-util
  5. PKG_VERSION:= 130809
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= aufs2 utilities
  8. PKG_SECTION:= admin
  9. PKG_URL:= http://aufs.sf.net/
  10. PKG_HOST_DEPENDS:= !cygwin !freebsd !openbsd
  11. NO_DISTFILES:= 1
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,AUFS_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. MAKE_FLAGS+= KDIR=${LINUX_DIR}
  15. BUILD_STYLE:= auto
  16. INSTALL_STYLE:= auto
  17. do-extract:
  18. mkdir -p ${WRKBUILD}
  19. ${CP} ./src/* ${WRKBUILD}/
  20. post-install:
  21. $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/sbin
  22. $(INSTALL_BIN) ${WRKINST}/sbin/{u,}mount.aufs \
  23. $(IDIR_AUFS_UTIL)/sbin
  24. include ${TOPDIR}/mk/pkg-bottom.mk