Makefile 1.2 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:= atk
  5. PKG_VERSION:= 1.33.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4338e0c94f767714f4786878112750dd
  8. PKG_DESCR:= atk library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= glib
  11. PKG_URL:= http://www.gnome.org/
  12. PKG_SITES:= ${MASTER_SITE_GNOME:=/atk/1.33/}
  13. PKG_SUBPKGS:= LIBATK LIBATK_DEV
  14. PKGSC_LIBATK_DEV:= devel
  15. PKGSD_LIBATK_DEV:= libatk headers
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS:= libonly
  18. endif
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,LIBATK,libatk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. $(eval $(call PKG_template,LIBATK_DEV,libatk-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBATK_DEV},${PKGSC_LIBATK_DEV},${PKG_OPTS}))
  22. libatk-install:
  23. ${INSTALL_DIR} ${IDIR_LIBATK}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libatk-*.so* ${IDIR_LIBATK}/usr/lib
  25. libatk-dev-install:
  26. ${INSTALL_DIR} ${IDIR_LIBATK_DEV}/usr/lib/pkgconfig
  27. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc ${IDIR_LIBATK_DEV}/usr/lib/pkgconfig
  28. ${INSTALL_DIR} ${IDIR_LIBATK_DEV}/usr/include
  29. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBATK_DEV}/usr/include
  30. include ${TOPDIR}/mk/pkg-bottom.mk