• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/fbv/fbv.mk
Thomas De SchampheleireThomas De Schampheleire committed 21f021b07e026 Jul 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# fbv
4
#
5
################################################################################
6
​
7
FBV_VERSION = 1.0b
8
FBV_SITE = http://s-tech.elsat.net.pl/fbv
9
​
10
FBV_LICENSE = GPLv2
11
FBV_LICENSE_FILES = COPYING
12
​
13
### image format dependencies and configure options
14
FBV_DEPENDENCIES = # empty
15
FBV_CONFIGURE_OPTS = # empty
16
ifeq ($(BR2_PACKAGE_FBV_PNG),y)
17
FBV_DEPENDENCIES += libpng
18
​
19
# libpng in turn depends on other libraries
20
ifeq ($(BR2_STATIC_LIBS),y)
21
FBV_CONFIGURE_OPTS += "--libs=`$(PKG_CONFIG_HOST_BINARY) --libs libpng`"
22
endif
23
​
24
else
25
FBV_CONFIGURE_OPTS += --without-libpng
26
endif
27
ifeq ($(BR2_PACKAGE_FBV_JPEG),y)
28
FBV_DEPENDENCIES += jpeg
29
else
30
FBV_CONFIGURE_OPTS += --without-libjpeg
31
endif
32
ifeq ($(BR2_PACKAGE_FBV_GIF),y)
33
FBV_DEPENDENCIES += giflib
34
else
35
FBV_CONFIGURE_OPTS += --without-libungif
36
endif
37
​
38
#fbv doesn't support cross-compilation
39
define FBV_CONFIGURE_CMDS
40
    (cd $(FBV_DIR); rm -f config.cache; \
41
        $(TARGET_CONFIGURE_OPTS) \
42
        $(TARGET_CONFIGURE_ARGS) \
43
        ./configure \
44
        --prefix=/usr \
45
        $(FBV_CONFIGURE_OPTS) \
46
    )
47
endef
48
​
49
define FBV_BUILD_CMDS
50
    $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
51
endef
52
​
53
define FBV_INSTALL_TARGET_CMDS
54
    $(INSTALL) -D $(@D)/fbv $(TARGET_DIR)/usr/bin/fbv
55
endef
56
​
57
$(eval $(autotools-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.