Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= libfm
  5. PKG_VERSION:= 2.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 188d0820aa4e8f25f3fb0519813baa68
  8. PKG_DESCR:= libfm library
  9. PKG_SECTION:= x11/lxde
  10. PKG_BUILDDEP:= menu-cache libXcursor
  11. PKG_DEPENDS:= menu-cache libxcursor
  12. PKG_URL:= http://lxde.org/
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. PKG_SUBPKGS:= LIBFM LIBFM_DEV
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBFM,libfm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBFM_DEV,libfm-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CPPFLAGS_FOR_BUILD+= $(shell pkg-config --cflags glib-2.0)
  19. LDFLAGS_FOR_BUILD+= $(shell pkg-config --libs glib-2.0) -L/usr/lib
  20. CONFIGURE_ARGS+= --disable-gtk-doc
  21. libfm-install:
  22. $(INSTALL_DIR) $(IDIR_LIBFM)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libfm*.so* \
  24. $(IDIR_LIBFM)/usr/lib
  25. libfm-install-dev:
  26. $(INSTALL_DIR) $(IDIR_LIBFM_DEV)/usr/lib/pkgconfig
  27. $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
  28. $(IDIR_LIBFM_DEV)/usr/lib/pkgconfig
  29. $(INSTALL_DIR) $(IDIR_LIBFM_DEV)/usr/include
  30. $(CP) $(WRKINST)/usr/include/* \
  31. $(IDIR_LIBFM_DEV)/usr/include
  32. include ${TOPDIR}/mk/pkg-bottom.mk