Makefile 1.4 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:= 0.1.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c09bce415ff6dc2dd835e28aeddeabe3
  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://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/
  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