summaryrefslogtreecommitdiff
path: root/package/libfm/Makefile
blob: 29bd5eb1e143567c2281e96cddd8ff73977eaf07 (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
# 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:=		libfm
PKG_VERSION:=		2.0
PKG_RELEASE:=		2
PKG_MD5SUM:=		188d0820aa4e8f25f3fb0519813baa68
PKG_DESCR:=		libfm library
PKG_SECTION:=		x11/lxde
PKG_BUILDDEP:=		menu-cache
PKG_DEPENDS:=		menu-cache
PKG_URL:=		http://lxde.org/
PKG_SITES:=		http://openadk.org/distfiles/

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBFM,libfm,$(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)
CONFIGURE_ARGS+=	--disable-gtk-doc

libfm-install:
	$(INSTALL_DIR) $(IDIR_LIBFM)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libfm*.so* \
		$(IDIR_LIBFM)/usr/lib

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