summaryrefslogtreecommitdiff
path: root/package/gsm/Makefile
blob: aba1e0366fb0dfe35e546939907208a67925411b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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:=		gsm
PKG_VERSION:=		1.0.10
PKG_RELEASE:=		1
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_DESCR_1:=		A GSM 06.10 full-rate speech transcoding implementation (utilities)

WRKDIST=		${WRKDIR}/${PKG_NAME}-1.0-pl10

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,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))

XAKE_FLAGS+=		COPTS="${TARGET_CFLAGS}" \
			INSTALL_ROOT="${WRKINST}"
BUILD_STYLE=		auto
INSTALL_STYLE=		auto

post-install:
	${INSTALL_DIR} ${IDIR_LIBGSM}/usr/lib
	${CP} ${WRKINST}/usr/lib/libgsm.so.1.0.10 ${IDIR_LIBGSM}/usr/lib/
	${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
	${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin/

include ${TOPDIR}/mk/pkg-bottom.mk