summaryrefslogtreecommitdiff
path: root/package/libcli
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
commit26f7c999e7c586eeb0eabeaf34ebbc9b3c145d7c (patch)
tree22f152f92d6c1e9c325583f46278a385ffefd38b /package/libcli
parent67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff)
another round of native compile fixes
Diffstat (limited to 'package/libcli')
-rwxr-xr-xpackage/libcli/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/libcli/Makefile b/package/libcli/Makefile
index 46be223bc..17173dd5a 100755
--- a/package/libcli/Makefile
+++ b/package/libcli/Makefile
@@ -12,14 +12,23 @@ PKG_SECTION:= libs
PKG_URL:= http://code.google.com/p/libcli
PKG_SITES:= http://libcli.googlecode.com/files/
+PKG_SUBPKGS:= LIBCLI LIBCLI_DEV
+PKGSD_LIBCLI_DEV:= command-line interface headers
+PKGSC_LIBCLI_DEV:= devel
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBCLI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBCLI,libcli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBCLI_DEV,libcli-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBCLI_DEV},${PKGSC_LIBCLI_DEV}))
CONFIG_STYLE:= manual
-post-install:
+libcli-install:
${INSTALL_DIR} ${IDIR_LIBCLI}/usr/lib
${CP} ${WRKINST}/usr/lib/libcli.so* ${IDIR_LIBCLI}/usr/lib
+libcli-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBCLI_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBCLI_DEV}/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk