shadow: update to 4.14.3
[openadk.git] / package / gsm / Makefile
blobfcc58623b6f2763cdbe6a5d7ad3652a008d10539
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= gsm
7 PKG_VERSION:= 1.0.10
8 PKG_RELEASE:= 2
9 PKG_HASH:= ddab700db455e13bcf9bc0592b320e61c6a7c692fb3cef7881b14b2df1a39069
10 PKG_DESCR:= gsm full-rate speech transcoding library
11 PKG_SECTION:= libs/misc
12 PKG_URL:= http://www-rn.informatik.uni-bremen.de/software/gsm/
13 PKG_SITES:= http://www-rn.informatik.uni-bremen.de/software/gsm/
14 PKG_NOPARALLEL:= 1
15 PKG_LIBNAME:= libgsm
16 PKG_OPTS:= dev
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 PKG_SUBPKGS:= LIBGSM GSM_UTILS
21 PKGSD_GSM_UTILS:= gsm full-rate speech transcoding utilities
22 PKGSS_GSM_UTILS:= libgsm
23 PKGSC_GSM_UTILS:= mm/audio
25 WRKDIST= ${WRKDIR}/${PKG_NAME}-1.0-pl10
27 include ${ADK_TOPDIR}/mk/package.mk
29 $(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
30 $(eval $(call PKG_template,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GSM_UTILS},${PKGSD_GSM_UTILS},${PKGSC_GSM_UTILS}))
32 CONFIG_STYLE:= manual
34 XAKE_FLAGS+= COPTS="${TARGET_CFLAGS} -fPIC" \
35 INSTALL_ROOT="${WRKINST}"
37 libgsm-install:
38 ${INSTALL_DIR} ${IDIR_LIBGSM}/usr/lib
39 ${CP} ${WRKINST}/usr/lib/libgsm.so* ${IDIR_LIBGSM}/usr/lib
41 gsm-utils-install:
42 ${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
43 ${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin
45 include ${ADK_TOPDIR}/mk/pkg-bottom.mk