libgpg-error: Fix compiling with uclibc
[openadk.git] / package / libSM / Makefile
blob3b019056633afe10479d5a5fade331c9373e8fa2
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:= libSM
7 PKG_VERSION:= 1.2.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= 14bb7c669ce2b8ff712fbdbf48120e3742a77edcd5e025d6b3325ed30cf120f4
10 PKG_DESCR:= session management library
11 PKG_SECTION:= x11/libs
12 PKG_DEPENDS:= libuuid
13 PKG_BUILDDEP:= libICE util-linux
14 HOST_BUILDDEP:= libICE-host xtrans-host
15 PKG_SITES:= http://www.x.org/releases/individual/lib/
16 PKG_LIBNAME:= libsm
17 PKG_OPTS:= dev
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
21 include $(ADK_TOPDIR)/mk/host.mk
22 include $(ADK_TOPDIR)/mk/package.mk
24 $(eval $(call HOST_template,LIBSM,libsm,$(PKG_VERSION)-${PKG_RELEASE}))
25 $(eval $(call PKG_template,LIBSM,libsm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
27 HOST_STYLE:= auto
29 libsm-install:
30 ${INSTALL_DIR} ${IDIR_LIBSM}/usr/lib
31 ${CP} ${WRKINST}/usr/lib/libSM.so* ${IDIR_LIBSM}/usr/lib
33 include ${ADK_TOPDIR}/mk/host-bottom.mk
34 include ${ADK_TOPDIR}/mk/pkg-bottom.mk