xref: /OK3568_Linux_fs/buildroot/package/mp4v2/mp4v2.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# mp4v2
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunMP4V2_VERSION = 4.1.3
8*4882a593SmuzhiyunMP4V2_SITE = \
9*4882a593Smuzhiyun	$(call github,TechSmith,mp4v2,Release-ThirdParty-MP4v2-$(MP4V2_VERSION))
10*4882a593SmuzhiyunMP4V2_INSTALL_STAGING = YES
11*4882a593SmuzhiyunMP4V2_LICENSE = MPL-1.1
12*4882a593SmuzhiyunMP4V2_LICENSE_FILES = COPYING
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun# help2man expects to be able to run utilities on the build machine to
15*4882a593Smuzhiyun# grab --help output which doesn't work when cross compiling, so
16*4882a593Smuzhiyun# disable it
17*4882a593SmuzhiyunMP4V2_CONF_ENV = ac_cv_prog_FOUND_HELP2MAN=no
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_MP4V2_UTIL),y)
20*4882a593SmuzhiyunMP4V2_CONF_OPTS += --enable-util
21*4882a593Smuzhiyunelse
22*4882a593SmuzhiyunMP4V2_CONF_OPTS += --disable-util
23*4882a593Smuzhiyunendif
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun$(eval $(autotools-package))
26