1
0

Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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:= afpfs-ng
  5. PKG_VERSION:= 0.8.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 688560de1cde57ab8d9e0ef7dc6436dbf0267fe8884f9014e50ff92b297b01a8
  8. PKG_DESCR:= client for apple filing protocol
  9. PKG_SECTION:= net/fs
  10. PKG_DEPENDS:= libgcrypt
  11. PKG_BUILDDEP:= fuse libgcrypt
  12. PKG_URL:= https://sites.google.com/site/alexthepuffin/home
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=afpfs-ng/}
  14. PKG_LIBNAME:= libafpclient
  15. PKG_OPTS:= dev
  16. PKG_SUBPKGS:= AFPFS_NG LIBAFPCLIENT
  17. PKGSD_LIBAFPCLIENT:= afp client library
  18. PKGSC_LIBAFPCLIENT:= libs/net
  19. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  20. include $(ADK_TOPDIR)/mk/package.mk
  21. $(eval $(call PKG_template,AFPFS_NG,afpfs-ng,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LIBAFPCLIENT,libafpclient,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_LIBAFPCLIENT},${PKGSD_LIBAFPCLIENT},${PKGSC_LIBAFPCLIENT}))
  23. AUTOTOOL_STYLE:= autoreconf
  24. CONFIGURE_ARGS+= --enable-gcrypt
  25. post-build:
  26. $(INSTALL_DIR) ${WRKINST}/usr/include/afpfs-ng
  27. $(CP) ${WRKBUILD}/include/*.h \
  28. ${WRKINST}/usr/include/afpfs-ng
  29. afpfs-ng-install:
  30. $(INSTALL_DIR) $(IDIR_AFPFS_NG)/usr/bin
  31. $(CP) $(WRKINST)/usr/bin/* \
  32. $(IDIR_AFPFS_NG)/usr/bin
  33. libafpclient-install:
  34. $(INSTALL_DIR) $(IDIR_LIBAFPCLIENT)/usr/lib
  35. $(CP) $(WRKINST)/usr/lib/libafpclient.so* \
  36. $(IDIR_LIBAFPCLIENT)/usr/lib
  37. include ${ADK_TOPDIR}/mk/pkg-bottom.mk