libgpg-error: fix riscv64
[openadk.git] / package / libXinerama / Makefile
blob30ba23fb369a10098185cbce1b8f989139cdbda8
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:= libXinerama
7 PKG_VERSION:= 1.1.3
8 PKG_RELEASE:= 1
9 PKG_HASH:= 0ba243222ae5aba4c6a3d7a394c32c8b69220a6872dbb00b7abae8753aca9a44
10 PKG_DESCR:= xinerama library
11 PKG_SECTION:= x11/libs
12 PKG_BUILDDEP:= xextproto libXext xineramaproto libXinerama-host
13 HOST_BUILDDEP:= xineramaproto-host libXext-host
14 PKG_SITES:= http://www.x.org/releases/individual/lib/
15 PKG_LIBNAME:= libxinerama
16 PKG_OPTS:= dev
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 include $(ADK_TOPDIR)/mk/host.mk
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call HOST_template,LIBXINERAMA,libxinerama,$(PKG_VERSION)-${PKG_RELEASE}))
24 $(eval $(call PKG_template,LIBXINERAMA,libxinerama,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
26 HOST_STYLE:= auto
27 CONFIGURE_ARGS+= --disable-malloc0returnsnull
29 libxinerama-install:
30 ${INSTALL_DIR} ${IDIR_LIBXINERAMA}/usr/lib
31 ${CP} ${WRKINST}/usr/lib/libXinerama.so* ${IDIR_LIBXINERAMA}/usr/lib
33 include ${ADK_TOPDIR}/mk/host-bottom.mk
34 include ${ADK_TOPDIR}/mk/pkg-bottom.mk