Makefile 1007 B

1234567891011121314151617181920212223242526272829303132333435
  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:= 3
  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. ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
  18. CONFIGURE_ARGS+= --disable-asm
  19. endif
  20. CONFIGURE_ARGS+= --disable-cli \
  21. --enable-asm \
  22. --cross-prefix=$(TARGET_CROSS)
  23. libx264-install:
  24. $(INSTALL_DIR) $(IDIR_LIBX264)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/libx264*.so* \
  26. $(IDIR_LIBX264)/usr/lib
  27. include ${TOPDIR}/mk/pkg-bottom.mk