summaryrefslogtreecommitdiff
path: root/package/libcapi20/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
commit98b7adfbd06f0f6bd99ca4805ca34250ee027fa1 (patch)
treea68345ba8ba7ee532e4b7426cadad31d7add24c0 /package/libcapi20/Makefile
parent09d28322f4828a387eeee03d303c833eab8828c5 (diff)
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libcapi20/Makefile')
-rw-r--r--package/libcapi20/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/package/libcapi20/Makefile b/package/libcapi20/Makefile
index 0ec18ff69..612099127 100644
--- a/package/libcapi20/Makefile
+++ b/package/libcapi20/Makefile
@@ -11,19 +11,15 @@ PKG_DESCR:= CAPI library
PKG_SECTION:= libs
PKG_URL:= ftp://ftp.melware.net/capi-utils/
PKG_SITES:= ftp://ftp.melware.net/capi-utils/
-
-PKG_SUBPKGS:= LIBCAPI20 LIBCAPI20_DEV
-PKGSD_LIBCAPI20_DEV:= header files for libcapi20 library
-PKGSC_LIBCAPI20_DEV:= devel
+PKG_OPTS:= dev
ifeq ($(ADK_STATIC),y)
-PKG_OPTS:= libonly
+PKG_OPTS+= libonly
endif
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBCAPI20,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-$(eval $(call PKG_template,LIBCAPI20_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBCAPI20_DEV},${PKGSC_LIBCAPI20_DEV},${PKG_OPTS}))
pre-install:
${INSTALL_DIR} ${WRKINST}/usr/lib
@@ -32,8 +28,4 @@ libcapi20-install:
${INSTALL_DIR} ${IDIR_LIBCAPI20}/usr/lib
${CP} ${WRKINST}/usr/lib/libcapi*.so* ${IDIR_LIBCAPI20}/usr/lib
-libcapi20-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBCAPI20_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBCAPI20_DEV}/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk