summaryrefslogtreecommitdiff
path: root/package/libcli/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libcli/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libcli/Makefile')
-rwxr-xr-xpackage/libcli/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/package/libcli/Makefile b/package/libcli/Makefile
index 17173dd5a..9b105cca8 100755
--- a/package/libcli/Makefile
+++ b/package/libcli/Makefile
@@ -11,15 +11,11 @@ PKG_DESCR:= Cisco-like command-line interface library
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
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(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}))
+$(eval $(call PKG_template,LIBCLI,libcli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIG_STYLE:= manual
@@ -27,8 +23,4 @@ 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