summaryrefslogtreecommitdiffstats
path: root/package/libdvbcsa/libdvbcsa.mk
blob: 8b733e7423cc53463cbcf499b8c2712fe4bab5c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
################################################################################
#
# libdvbcsa
#
################################################################################

LIBDVBCSA_VERSION = 1.1.0
LIBDVBCSA_SITE = http://get.videolan.org/libdvbcsa/$(LIBDVBCSA_VERSION)
LIBDVBCSA_LICENSE = GPL-2.0+
LIBDVBCSA_LICENSE_FILES = COPYING
LIBDVBCSA_INSTALL_STAGING = YES

ifeq ($(BR2_X86_CPU_HAS_MMX),y)
LIBDVBCSA_CONF_OPTS += --enable-mmx
else
LIBDVBCSA_CONF_OPTS += --disable-mmx
endif

ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
LIBDVBCSA_CONF_OPTS += --enable-sse2
else
LIBDVBCSA_CONF_OPTS += --disable-sse2
endif

ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
LIBDVBCSA_CONF_OPTS += --enable-altivec
LIBDVBCSA_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -flax-vector-conversions"
else
LIBDVBCSA_CONF_OPTS += --disable-altivec
endif

$(eval $(autotools-package))
OpenPOWER on IntegriCloud