summaryrefslogtreecommitdiff
path: root/package/libosip2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 15:20:24 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 15:20:24 (GMT)
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libosip2
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/libosip2')
-rw-r--r--package/libosip2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/libosip2/Makefile b/package/libosip2/Makefile
index fa6b200..e5959b9 100644
--- a/package/libosip2/Makefile
+++ b/package/libosip2/Makefile
@@ -5,24 +5,25 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libosip2
PKG_VERSION:= 3.3.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 81493bb4d4ae6d55b71a0d4369339125
PKG_DESCR:= a SIP (Session Initiation Protocol) implementation
PKG_SECTION:= libs
PKG_DEPENDS:= libpthread
PKG_URL:= http://www.gnu.org/software/osip
PKG_SITES:= ${MASTER_SITE_GNU:=osip/}
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBOSIP2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBOSIP2,libosip2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-trace \
--enable-pthread \
--enable-semaphore \
--enable-ntimer
-post-install:
+libosip2-install:
${INSTALL_DIR} ${IDIR_LIBOSIP2}/usr/lib
${CP} ${WRKINST}/usr/lib/libosip{,parser}2.so* \
${IDIR_LIBOSIP2}/usr/lib/