mk/image.mk: fix initramfs-piggyback for recent kernels
[openadk.git] / package / libtirpc / Makefile
blob4d8e4689e767b90e8884fe80fdda8398a33055cc
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 ${TOPDIR}/rules.mk
6 PKG_NAME:= libtirpc
7 PKG_VERSION:= 0.2.1
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= d77eb15f464bf9d6e66259eaf78b2a4e
10 PKG_DESCR:= a transport independent RPC library
11 PKG_SECTION:= libs
12 PKG_DEPENDS:= libgssglue
13 PKG_BUILDDEP:= libgssglue
14 PKG_URL:= http://sourceforge.net/projects/libtirpc/
15 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libtirpc/}
17 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
19 include ${TOPDIR}/mk/package.mk
21 $(eval $(call PKG_template,LIBTIRPC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 ifneq (${ADK_COMPILE_NFS_UTILS_WITH_KERBEROS},y)
24 CONFIGURE_ARGS+= --disable-gss
25 else
26 CONFIGURE_ARGS+= --enable-gss
27 endif
29 post-install:
30 ${INSTALL_DIR} ${IDIR_LIBTIRPC}/usr/lib ${IDIR_LIBTIRPC}/etc
31 ${CP} ${WRKINST}/usr/lib/libtirpc*.so* ${IDIR_LIBTIRPC}/usr/lib/
32 ${CP} ./files/netconfig ${IDIR_LIBTIRPC}/etc
34 include ${TOPDIR}/mk/pkg-bottom.mk