Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= pcmanfm
  5. PKG_VERSION:= 0.9.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f31ed6defb600f7046a456220d8efa3a
  8. PKG_DESCR:= graphical file manager
  9. PKG_SECTION:= x11/lxde
  10. PKG_BUILDDEP:= libfm atk glib gtk+
  11. PKG_DEPENDS:= libfm libatk libxcomposite cairo libx11
  12. PKG_DEPENDS+= libxrender libgtk glib libxfixes fontconfig
  13. PKG_DEPENDS+= libintl pango menu-cache libfreetype libxext
  14. PKG_DEPENDS+= libxdamage gdk-pixbuf libpthread
  15. PKG_URL:= http://lxde.org/
  16. PKG_SITES:= http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,PCMANFM,pcmanfm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CPPFLAGS_FOR_BUILD+= $(shell pkg-config --cflags glib-2.0)
  20. LDFLAGS_FOR_BUILD+= $(shell pkg-config --libs glib-2.0) -L/usr/lib
  21. CONFIGURE_ARGS+= --disable-gtk-doc
  22. pcmanfm-install:
  23. $(INSTALL_DIR) $(IDIR_PCMANFM)/etc/xdg/pcmanfm
  24. $(CP) $(WRKINST)/etc/xdg/pcmanfm/* \
  25. $(IDIR_PCMANFM)/etc/xdg/pcmanfm
  26. $(INSTALL_DIR) $(IDIR_PCMANFM)/usr/bin
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/pcmanfm \
  28. $(IDIR_PCMANFM)/usr/bin
  29. $(INSTALL_DIR) $(IDIR_PCMANFM)/usr/share/pcmanfm/ui
  30. $(CP) $(WRKINST)/usr/share/pcmanfm/ui/* \
  31. $(IDIR_PCMANFM)/usr/share/pcmanfm/ui
  32. $(INSTALL_DIR) $(IDIR_PCMANFM)/usr/share/applications
  33. $(CP) $(WRKINST)/usr/share/applications/* \
  34. $(IDIR_PCMANFM)/usr/share/applications
  35. include ${TOPDIR}/mk/pkg-bottom.mk