1 ################################################################################
5 ################################################################################
8 VDR_SOURCE
= vdr-
$(VDR_VERSION
).
tar.bz2
9 VDR_SITE
= ftp
://ftp.tvdr.de
/vdr
/Developer
11 VDR_LICENSE_FILES
= COPYING
12 VDR_INSTALL_STAGING
= YES
19 VDR_INCLUDE_DIRS
= -I
$(STAGING_DIR
)/usr
/include/freetype2
22 PLUGINLIBDIR
=/usr
/lib
/vdr \
26 ifeq ($(BR2_NEEDS_GETTEXT
),y
)
27 VDR_DEPENDENCIES
+= gettext
31 ifeq ($(BR2_PACKAGE_LIBFRIBIDI
),y
)
32 VDR_DEPENDENCIES
+= libfribidi
33 VDR_INCLUDE_DIRS
+= -I
$(STAGING_DIR
)/usr
/include/fribidi
34 VDR_LDFLAGS
+= -lfribidi
35 VDR_MAKE_FLAGS
+= BIDI
=1
38 ifeq ($(BR2_PACKAGE_LIBICONV
),y
)
39 VDR_DEPENDENCIES
+= libiconv
40 VDR_LDFLAGS
+= -liconv
44 INCLUDES
="$(VDR_INCLUDE_DIRS)" \
45 LDFLAGS
="$(VDR_LDFLAGS)" \
49 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
) $(VDR_MAKE_ENV
) \
50 vdr vdr.
pc include-dir
53 define VDR_INSTALL_STAGING_CMDS
54 $(MAKE1
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
) $(VDR_MAKE_ENV
) \
55 DESTDIR
=$(STAGING_DIR
) \
56 install-dirs install-bin install-conf install-includes \
60 define VDR_INSTALL_TARGET_CMDS
61 $(MAKE1
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
) $(VDR_MAKE_ENV
) \
62 DESTDIR
=$(TARGET_DIR
) \
63 install-dirs install-bin install-conf
66 $(eval
$(generic-package
))