Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= libSM
  5. PKG_VERSION:= 1.2.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4dcf47665aa64161bc5ca74c0778a149
  8. PKG_DESCR:= X11 Session Management library
  9. PKG_SECTION:= x11/libs
  10. PKG_DEPENDS:= libuuid
  11. PKG_BUILDDEP:= libICE
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. PKG_SUBPKGS:= LIBSM LIBSM_DEV
  14. PKGSD_LIBSM_DEV:= X11 Session Management headers
  15. PKGSC_LIBSM_DEV:= x11/devel
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBSM,libsm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBSM_DEV,libsm-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSM_DEV},${PKGSC_LIBSM_DEV}))
  19. libsm-install:
  20. ${INSTALL_DIR} ${IDIR_LIBSM}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libSM.so* ${IDIR_LIBSM}/usr/lib
  22. libsm-dev-install:
  23. ${INSTALL_DIR} ${IDIR_LIBSM_DEV}/usr/include
  24. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBSM_DEV}/usr/include
  25. ${INSTALL_DIR} ${IDIR_LIBSM_DEV}/usr/lib/pkgconfig
  26. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  27. ${IDIR_LIBSM_DEV}/usr/lib/pkgconfig
  28. include ${TOPDIR}/mk/pkg-bottom.mk