summaryrefslogtreecommitdiff
path: root/package/libpri
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/libpri
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/libpri')
-rw-r--r--package/libpri/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/libpri/Makefile b/package/libpri/Makefile
index adf2ec2ce..8c0ae28a9 100644
--- a/package/libpri/Makefile
+++ b/package/libpri/Makefile
@@ -5,23 +5,24 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libpri
PKG_VERSION:= 1.4.12
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 9de39b866f049cc20a4f431cc6245166
PKG_DESCR:= C implementation of the Primary Rate ISDN specification
PKG_SECTION:= libs
PKG_URL:= http://www.asterisk.org/
PKG_SITES:= http://downloads.asterisk.org/pub/telephony/libpri/releases/
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBPRI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBPRI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIG_STYLE:= manual
MAKE_FLAGS+= CC='${TARGET_CC}' LDCONFIG='' ARCH=$(ARCH)
FAKE_FLAGS+= INSTALL_BASE=/usr
-post-install:
+libpri-install:
${INSTALL_DIR} ${IDIR_LIBPRI}/usr/lib
${CP} ${WRKINST}/usr/lib/libpri.so* ${IDIR_LIBPRI}/usr/lib