Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libx264
  5. # actually is git checkout from 22.01.2014
  6. PKG_VERSION:= 1.0.1
  7. PKG_RELEASE:= 7
  8. PKG_MD5SUM:= 6be3e8adeaf6b007bbc04026b6ebd304
  9. PKG_DESCR:= H264 encoding library
  10. PKG_SECTION:= libs
  11. PKG_URL:= http://www.videolan.org/developers/x264.html
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_BUILDDEP_IBM_X40:= yasm-host
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIG_STYLE:= minimal
  19. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  20. CONFIGURE_ARGS+= --disable-asm
  21. endif
  22. CONFIGURE_ARGS+= --disable-cli \
  23. --disable-opencl \
  24. --enable-shared \
  25. --prefix=/usr \
  26. --host=${GNU_TARGET_NAME} \
  27. --sysroot=${STAGING_TARGET_DIR} \
  28. --cross-prefix=$(TARGET_CROSS)
  29. libx264-install:
  30. $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
  31. $(CP) $(WRKINST)/usr/lib/libx264*.so* \
  32. $(IDIR_LIBX264)/usr/lib
  33. include ${TOPDIR}/mk/pkg-bottom.mk