imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / libx264 / Makefile
blob394cbcd82645705e08906b5edf1df9de8d38ece6
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libx264
7 PKG_VERSION:= 7d0ff22e8c96de126be9d3de4952edd6d1b75a8c
8 PKG_RELEASE:= 1
9 PKG_GIT:= hash
10 PKG_DESCR:= h264 encoding library
11 PKG_SECTION:= libs/video
12 PKG_URL:= http://www.videolan.org/developers/x264.html
13 PKG_SITES:= http://git.videolan.org/git/x264.git
14 PKG_OPTS:= dev
16 include $(ADK_TOPDIR)/mk/package.mk
18 $(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
20 CONFIG_STYLE:= minimal
22 ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
23 CONFIGURE_ARGS+= --disable-asm
24 endif
25 CONFIGURE_ARGS+= --disable-cli \
26 --disable-opencl \
27 --enable-shared \
28 --prefix=/usr \
29 --host=${GNU_TARGET_NAME} \
30 --sysroot=${STAGING_TARGET_DIR} \
31 --cross-prefix=$(TARGET_CROSS)
33 libx264-install:
34 $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
35 $(CP) $(WRKINST)/usr/lib/libx264*.so* \
36 $(IDIR_LIBX264)/usr/lib
38 include ${ADK_TOPDIR}/mk/pkg-bottom.mk