libgpg-error: Fix compiling with uclibc
[openadk.git] / package / libx264 / Makefile
blob18b92ffc131f0c5679840f79803996797f9f48cf
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 PKG_BUILDDEP_IBM_X40:= yasm-host
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
22 CONFIG_STYLE:= minimal
24 ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
25 CONFIGURE_ARGS+= --disable-asm
26 endif
27 CONFIGURE_ARGS+= --disable-cli \
28 --disable-opencl \
29 --enable-shared \
30 --prefix=/usr \
31 --host=${GNU_TARGET_NAME} \
32 --sysroot=${STAGING_TARGET_DIR} \
33 --cross-prefix=$(TARGET_CROSS)
35 libx264-install:
36 $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
37 $(CP) $(WRKINST)/usr/lib/libx264*.so* \
38 $(IDIR_LIBX264)/usr/lib
40 include ${ADK_TOPDIR}/mk/pkg-bottom.mk