summaryrefslogtreecommitdiff
path: root/package/gsm/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
commitd279b5d1fe744cac44da7cd1b51f9ba6a2cc4647 (patch)
treebf575aca8f9ce9cf088ce3aee992fc846cd6e130 /package/gsm/Makefile
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
fix libmix packages, while checking all packages make some style cleanup
Diffstat (limited to 'package/gsm/Makefile')
-rw-r--r--package/gsm/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/package/gsm/Makefile b/package/gsm/Makefile
index cac1448ae..fd9763303 100644
--- a/package/gsm/Makefile
+++ b/package/gsm/Makefile
@@ -5,13 +5,15 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= gsm
PKG_VERSION:= 1.0.10
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 4b148480f82e96d274248e13880ec873
PKG_DESCR:= A GSM 06.10 full-rate speech transcoding implementation (library)
PKG_SECTION:= libs
PKG_URL:= http://www-rn.informatik.uni-bremen.de/software/gsm/
PKG_SITES:= http://www-rn.informatik.uni-bremen.de/software/gsm/
PKG_NOPARALLEL:= 1
+PKG_LIBNAME:= libgsm
+PKG_OPTS:= dev
PKG_SUBPKGS:= LIBGSM GSM_UTILS
PKGSD_GSM_UTILS:= A GSM 06.10 full-rate speech transcoding implementation (utilities)
@@ -20,9 +22,13 @@ PKGSC_GSM_UTILS:= misc
WRKDIST= ${WRKDIR}/${PKG_NAME}-1.0-pl10
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS+= libmix
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GSM_UTILS},${PKGSD_GSM_UTILS},${PKGSC_GSM_UTILS}))
CONFIG_STYLE:= manual
@@ -30,9 +36,11 @@ CONFIG_STYLE:= manual
XAKE_FLAGS+= COPTS="${TARGET_CFLAGS} -fPIC" \
INSTALL_ROOT="${WRKINST}"
-post-install:
+libgsm-install:
${INSTALL_DIR} ${IDIR_LIBGSM}/usr/lib
${CP} ${WRKINST}/usr/lib/libgsm.so* ${IDIR_LIBGSM}/usr/lib
+
+gsm-utils-install:
${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin