summaryrefslogtreecommitdiff
path: root/package/pcmanfm/Makefile
blob: 500f4c41b0857ec9bdf5380ba499f08047a6259e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		pcmanfm
PKG_VERSION:=		2.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		20c07a1a39596d2322be0e88a310b314
PKG_DESCR:=		graphical file manager
PKG_SECTION:=		x11/lxde
PKG_BUILDDEP:=		libfm atk glib gtk+
PKG_DEPENDS:=		libfm libatk libxcomposite cairo libx11
PKG_DEPENDS+=		libxrender libgtk glib libxfixes fontconfig
PKG_DEPENDS+=		libintl pango menu-cache libfreetype libxext
PKG_DEPENDS+=		libxdamage gdk-pixbuf libpthread
PKG_URL:=		http://lxde.org/
PKG_SITES:=		http://openadk.org/distfiles/

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,PCMANFM,pcmanfm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CPPFLAGS_FOR_BUILD+=	$(shell pkg-config --cflags glib-2.0)
LDFLAGS_FOR_BUILD+=	$(shell pkg-config --libs glib-2.0) -L/usr/lib
CONFIGURE_ARGS+=	--disable-gtk-doc

pcmanfm-install:
	$(INSTALL_DIR) $(IDIR_PCMANFM)/etc/xdg/pcmanfm
	$(CP) $(WRKINST)/etc/xdg/pcmanfm/* \
		$(IDIR_PCMANFM)/etc/xdg/pcmanfm
	$(INSTALL_DIR) $(IDIR_PCMANFM)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/pcmanfm \
		$(IDIR_PCMANFM)/usr/bin
	$(INSTALL_DIR) $(IDIR_PCMANFM)/usr/share/pcmanfm/ui
	$(CP) $(WRKINST)/usr/share/pcmanfm/ui/* \
		$(IDIR_PCMANFM)/usr/share/pcmanfm/ui
	$(INSTALL_DIR) $(IDIR_PCMANFM)/usr/share/applications
	$(CP) $(WRKINST)/usr/share/applications/* \
		$(IDIR_PCMANFM)/usr/share/applications

include ${TOPDIR}/mk/pkg-bottom.mk