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
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
/
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}))
34 XAKE_FLAGS
+= COPTS
="${TARGET_CFLAGS} -fPIC" \
35 INSTALL_ROOT
="${WRKINST}"
38 ${INSTALL_DIR} ${IDIR_LIBGSM}/usr
/lib
39 ${CP} ${WRKINST}/usr
/lib
/libgsm.so
* ${IDIR_LIBGSM}/usr
/lib
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