summaryrefslogtreecommitdiff
path: root/package/libtirpc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-08 21:45:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-08 21:45:05 +0100
commitc115a9d1c3c12ce5504a1a5169006c66cafc34e3 (patch)
treef4bef63dd572e3fe54b8d5fdbffcbf2e2e78d7a2 /package/libtirpc
parent91fb280c3d35424d56c7f9a3bea23f383dfcb56a (diff)
many bugfixes for native adksystems and some package updates
Diffstat (limited to 'package/libtirpc')
-rw-r--r--package/libtirpc/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/package/libtirpc/Makefile b/package/libtirpc/Makefile
index 4d8e4689e..83785dd1e 100644
--- a/package/libtirpc/Makefile
+++ b/package/libtirpc/Makefile
@@ -16,19 +16,28 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libtirpc/}
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SUBPKGS:= LIBTIRPC LIBTIRPC_DEV
+PKGSD_LIBTIRPC_DEV:= tirpc headers
+PKGSC_LIBTIRPC_DEV:= devel
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBTIRPC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBTIRPC,libtirpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBTIRPC_DEV,libtirpc-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBTIRPC_DEV},${PKGSC_LIBTIRPC_DEV}))
-ifneq (${ADK_COMPILE_NFS_UTILS_WITH_KERBEROS},y)
+ifneq (${ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS},y)
CONFIGURE_ARGS+= --disable-gss
else
CONFIGURE_ARGS+= --enable-gss
endif
-post-install:
+libtirpc-install:
${INSTALL_DIR} ${IDIR_LIBTIRPC}/usr/lib ${IDIR_LIBTIRPC}/etc
${CP} ${WRKINST}/usr/lib/libtirpc*.so* ${IDIR_LIBTIRPC}/usr/lib/
${CP} ./files/netconfig ${IDIR_LIBTIRPC}/etc
+libtirpc-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBTIRPC_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBTIRPC_DEV}/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk