Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libx264
  5. PKG_VERSION:= 40bb56814e56ed342040bdbf30258aab39ee9e89
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 88f63bd104b9127ebbaa6a88931c9f02d84f0dd4b5b3994ff38852735f60ead3
  8. PKG_DESCR:= h264 encoding library
  9. PKG_SECTION:= libs/video
  10. PKG_URL:= http://www.videolan.org/developers/x264.html
  11. PKG_SITES:= git://git.videolan.org/x264.git
  12. PKG_OPTS:= dev
  13. PKG_BUILDDEP_IBM_X40:= yasm-host
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIG_STYLE:= minimal
  17. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  18. CONFIGURE_ARGS+= --disable-asm
  19. endif
  20. CONFIGURE_ARGS+= --disable-cli \
  21. --disable-opencl \
  22. --enable-shared \
  23. --prefix=/usr \
  24. --host=${GNU_TARGET_NAME} \
  25. --sysroot=${STAGING_TARGET_DIR} \
  26. --cross-prefix=$(TARGET_CROSS)
  27. libx264-install:
  28. $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
  29. $(CP) $(WRKINST)/usr/lib/libx264*.so* \
  30. $(IDIR_LIBX264)/usr/lib
  31. include ${ADK_TOPDIR}/mk/pkg-bottom.mk