d34de02c8a9e85ed823c9146f6e046e2fcbd0926
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mp4v2 / mp4v2.mk
1 ################################################################################
2 #
3 # mp4v2
4 #
5 ################################################################################
6
7 MP4V2_VERSION = 2.0.0
8 MP4V2_SOURCE = mp4v2-$(MP4V2_VERSION).tar.bz2
9 MP4V2_SITE = https://mp4v2.googlecode.com/files
10 MP4V2_INSTALL_STAGING = YES
11 MP4V2_LICENSE = MPLv1.1
12 MP4V2_LICENSE_FILES = COPYING
13
14 # help2man expects to be able to run utilities on the build machine to
15 # grab --help output which doesn't work when cross compiling, so
16 # disable it
17 MP4V2_CONF_ENV = ac_cv_prog_FOUND_HELP2MAN=no
18
19 # infrastructure passes --disable-debug if !BR2_ENABLE_DEBUG. With
20 # mpv42 the only thing this option does is that it tries to strip any
21 # -g* options from CFLAGS/CXXFLAGS. The logic to do so is
22 # unfortunately buggy, so just pass --enable-debug to disable this
23 MP4V2_CONF_OPTS = --enable-debug --enable-largefile
24
25 ifeq ($(BR2_PACKAGE_MP4V2_UTIL),y)
26 MP4V2_CONF_OPTS += --enable-util
27 else
28 MP4V2_CONF_OPTS += --disable-util
29 endif
30
31 $(eval $(autotools-package))