summaryrefslogtreecommitdiff
path: root/package/speex/Makefile
blob: db3b2bcc4d3400a8abfa2cc6db829e9c622543ca (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
# 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:=		speex
PKG_VERSION:=		1.2rc1
PKG_RELEASE:=		1
PKG_MD5SUM:=		c4438b22c08e5811ff10e2b06ee9b9ae
PKG_DESCR:=		an open source patent-free speech compression codec
PKG_SECTION:=		libs
PKG_URL:=		http://speex.org/
PKG_SITES:=		http://downloads.us.xiph.org/releases/speex/

PKG_SUBPKGS:=		LIBSPEEX

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,LIBSPEEX,libspeex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TARGET_CFLAGS:=         $(filter-out -flto,$(TARGET_CFLAGS))
CONFIGURE_ARGS+=	--without-ogg --disable-oggtest --enable-fixed-point
XAKE_FLAGS+=		bin_PROGRAMS=""

post-install:
	${INSTALL_DIR} ${IDIR_LIBSPEEX}/usr/lib
	${CP} ${WRKINST}/usr/lib/libspeex.so* ${IDIR_LIBSPEEX}/usr/lib/

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