1 ################################################################################
5 ################################################################################
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
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
20 LIBMPEG2_CONF_OPTS
+= --disable-sdl
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
)
29 LIBMPEG2_POST_INSTALL_TARGET_HOOKS
+= LIBMPEG2_REMOVE_BINS
32 $(eval
$(autotools-package
))