openswan: update to 2.6.51.5
[openadk.git] / package / libx265 / Makefile
blob616bacd8f921ec967db9fa7790af20e4de9e932d
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:= libx265
7 PKG_VERSION:= 2.7
8 PKG_HASH:= d5e75fa62ffe6ed49e691f8eb8ab8c1634ffcc0725dd553c6fdb4d5443b494a2
9 PKG_RELEASE:= 1
10 PKG_DESCR:= h265 encoding library
11 PKG_SECTION:= libs/video
12 PKG_BUILDDEP:= cmake-host
13 PKG_URL:= http://x265.org
14 PKG_SITES:= https://bitbucket.org/multicoreware/x265/downloads/
15 PKG_OPTS:= dev
17 DISTFILES:= x265_${PKG_VERSION}.tar.gz
18 WRKDIST= ${WRKDIR}/x265_${PKG_VERSION}
19 WRKSRC= ${WRKDIST}/source
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,LIBX265,libx265,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 CONFIG_STYLE:= cmake
26 CMAKE_FLAGS+= -DENABLE_SHARED=ON -DENABLE_PIC=ON
28 libx265-install:
29 $(INSTALL_DIR) $(IDIR_LIBX265)/usr/lib
30 $(CP) $(WRKINST)/usr/lib/libx265*.so* \
31 $(IDIR_LIBX265)/usr/lib
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk