Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. PKG_BUILDDEP_IBM_X40:= yasm-host
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CONFIG_STYLE:= minimal
  18. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  19. CONFIGURE_ARGS+= --disable-asm
  20. endif
  21. CONFIGURE_ARGS+= --disable-cli \
  22. --disable-opencl \
  23. --enable-shared \
  24. --prefix=/usr \
  25. --host=${GNU_TARGET_NAME} \
  26. --sysroot=${STAGING_TARGET_DIR} \
  27. --cross-prefix=$(TARGET_CROSS)
  28. libx264-install:
  29. $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
  30. $(CP) $(WRKINST)/usr/lib/libx264*.so* \
  31. $(IDIR_LIBX264)/usr/lib
  32. include ${TOPDIR}/mk/pkg-bottom.mk