Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= aufs-util
  5. # branch aufs3.x-rcN (of around June 6th, 2014)
  6. PKG_VERSION:= a0eb20c75c07299bfc50c3d80023e1d22c86b4cc
  7. PKG_RELEASE:= 1
  8. PKG_DESCR:= aufs utilities (version 3 and above)
  9. PKG_SECTION:= sys/fs
  10. PKG_URL:= http://aufs.sf.net/
  11. PKG_SITES:= git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util
  12. PKG_SUBPKGS:= AUFS_UTIL LIBAU
  13. PKGSD_LIBAU:= aufs userspace library
  14. PKGSC_LIBAU:= libs/misc
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,AUFS_UTIL,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  17. $(eval $(call PKG_template,LIBAU,libau,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBAU),$(PKGSC_LIBAU)))
  18. CONFIG_STYLE:= manual
  19. XAKE_FLAGS+= Install=install \
  20. HOSTCC="$(HOST_CC)" \
  21. CPPFLAGS_FOR_BUILD="-I$(STAGING_TARGET_DIR)/usr/include -I./libau"
  22. aufs-util-install:
  23. $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/sbin
  24. $(INSTALL_BIN) $(WRKINST)/sbin/{{u,}mount.aufs,auplink} \
  25. $(IDIR_AUFS_UTIL)/sbin
  26. $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/usr/bin
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/au{brsync,chk} \
  28. $(IDIR_AUFS_UTIL)/usr/bin
  29. $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/etc/default
  30. $(INSTALL_DATA) $(WRKINST)/etc/default/aufs \
  31. $(IDIR_AUFS_UTIL)/etc/default
  32. libau-install:
  33. $(INSTALL_DIR) $(IDIR_LIBAU)/usr/lib
  34. $(CP) $(WRKINST)/usr/lib/libau* $(IDIR_LIBAU)/usr/lib
  35. include $(ADK_TOPDIR)/mk/pkg-bottom.mk