]> Git Repo - buildroot-mgba.git/blame - package/fbv/fbv.mk
syslog-ng: Bump version to 3.7.3
[buildroot-mgba.git] / package / fbv / fbv.mk
CommitLineData
8dfd59d1 1################################################################################
96a8fc9f
US
2#
3# fbv
4#
8dfd59d1 5################################################################################
0e4d25ff
TP
6
7FBV_VERSION = 1.0b
0e4d25ff 8FBV_SITE = http://s-tech.elsat.net.pl/fbv
96a8fc9f 9
4bd01ac2
SH
10FBV_LICENSE = GPLv2
11FBV_LICENSE_FILES = COPYING
12
0e41f562
A
13### image format dependencies and configure options
14FBV_DEPENDENCIES = # empty
15FBV_CONFIGURE_OPTS = # empty
16ifeq ($(BR2_PACKAGE_FBV_PNG),y)
17FBV_DEPENDENCIES += libpng
a3ff0ad5
BK
18
19# libpng in turn depends on other libraries
665e13c8 20ifeq ($(BR2_STATIC_LIBS),y)
21f021b0 21FBV_CONFIGURE_OPTS += "--libs=`$(PKG_CONFIG_HOST_BINARY) --libs libpng`"
a3ff0ad5
BK
22endif
23
0e41f562
A
24else
25FBV_CONFIGURE_OPTS += --without-libpng
26endif
27ifeq ($(BR2_PACKAGE_FBV_JPEG),y)
28FBV_DEPENDENCIES += jpeg
29else
30FBV_CONFIGURE_OPTS += --without-libjpeg
31endif
32ifeq ($(BR2_PACKAGE_FBV_GIF),y)
be5a77ef 33FBV_DEPENDENCIES += giflib
0e41f562
A
34else
35FBV_CONFIGURE_OPTS += --without-libungif
36endif
96a8fc9f 37
a21566d3 38#fbv doesn't support cross-compilation
9486dcc9 39define FBV_CONFIGURE_CMDS
26cdd6f6 40 (cd $(FBV_DIR); rm -f config.cache; \
a6253834 41 $(TARGET_CONFIGURE_OPTS) \
d6a17c05 42 $(TARGET_CONFIGURE_ARGS) \
96a8fc9f
US
43 ./configure \
44 --prefix=/usr \
0e41f562 45 $(FBV_CONFIGURE_OPTS) \
6c6cb067 46 )
9486dcc9 47endef
96a8fc9f 48
9486dcc9 49define FBV_BUILD_CMDS
50 $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
51endef
96a8fc9f 52
9486dcc9 53define FBV_INSTALL_TARGET_CMDS
c9623380 54 $(INSTALL) -D $(@D)/fbv $(TARGET_DIR)/usr/bin/fbv
9486dcc9 55endef
96a8fc9f 56
e1502ebc 57$(eval $(autotools-package))
This page took 1.362844 seconds and 4 git commands to generate.