summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/asterisk/Makefile1
-rw-r--r--package/libjansson/Makefile28
2 files changed, 29 insertions, 0 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index d9caa7c4f..0e53be8e4 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -18,6 +18,7 @@ PKG_NOPARALLEL:= 1
PKG_NEED_CXX:= 1
PKG_ARCH_DEPENDS:= !cris
+PKG_LIBC_DEPENDS:= uclibc eglibc glibc
PKG_SUBPKGS:= ASTERISK ASTERISK_PGSQL ASTERISK_VOICEMAIL ASTERISK_SOUNDS
PKG_SUBPKGS+= ASTERISK_CHAN_SKINNY ASTERISK_CHAN_IAX2 ASTERISK_CODEC_SPEEX ASTERISK_CODEC_GSM
diff --git a/package/libjansson/Makefile b/package/libjansson/Makefile
new file mode 100644
index 000000000..4fef0dd4b
--- /dev/null
+++ b/package/libjansson/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libjansson
+PKG_VERSION:= 2.5
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 46ac93bec48aacf207b67b51c8fbf7f1
+PKG_DESCR:= JSON library
+PKG_SECTION:= libs
+PKG_URL:= http://www.digip.org/jansson/
+PKG_SITES:= http://www.digip.org/jansson/releases/
+PKG_OPTS:= dev
+
+DISTFILES:= jansson-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/jansson-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBJANSSON,libjansson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+libjansson-install:
+ $(INSTALL_DIR) $(IDIR_LIBJANSSON)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libjansson*.so* \
+ $(IDIR_LIBJANSSON)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk