The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libmpeg2 / libmpeg2.mk
1 ################################################################################
2 #
3 # libmpeg2
4 #
5 ################################################################################
6
7 LIBMPEG2_VERSION = 0.5.1
8 LIBMPEG2_SITE = http://libmpeg2.sourceforge.net/files
9 LIBMPEG2_LICENSE = GPLv2+
10 LIBMPEG2_LICENSE_FILES = COPYING
11 LIBMPEG2_INSTALL_STAGING = YES
12 LIBMPEG2_AUTORECONF = YES
13 LIBMPEG2_CONF_OPTS = --without-x --disable-directx
14
15 ifeq ($(BR2_PACKAGE_SDL),y)
16 LIBMPEG2_CONF_ENV += ac_cv_prog_SDLCONFIG=$(STAGING_DIR)/usr/bin/sdl-config
17 LIBMPEG2_CONF_OPTS += --enable-sdl
18 LIBMPEG2_DEPENDENCIES += sdl
19 else
20 LIBMPEG2_CONF_OPTS += --disable-sdl
21 endif
22
23 ifneq ($(BR2_PACKAGE_LIBMPEG2_BINS),y)
24 define LIBMPEG2_REMOVE_BINS
25         rm -f $(addprefix $(TARGET_DIR)/usr/bin/,\
26                 mpeg2dec corrupt_mpeg2 extract_mpeg2)
27 endef
28
29 LIBMPEG2_POST_INSTALL_TARGET_HOOKS += LIBMPEG2_REMOVE_BINS
30 endif
31
32 $(eval $(autotools-package))