diff options
author | Steve Dibb <beandog@gentoo.org> | 2007-03-09 03:17:53 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2007-03-09 03:17:53 +0000 |
commit | 24cdb356be5637d5388fd643c29900d3b2f82570 (patch) | |
tree | 2d523e5856834aeb13e4ff890a441a063a193113 /media-sound/gsm | |
parent | Add more docs, bug 138492 (diff) | |
download | gentoo-2-24cdb356be5637d5388fd643c29900d3b2f82570.tar.gz gentoo-2-24cdb356be5637d5388fd643c29900d3b2f82570.tar.bz2 gentoo-2-24cdb356be5637d5388fd643c29900d3b2f82570.zip |
Compile issues, apply amd64 patch, bug 138908
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-sound/gsm')
-rw-r--r-- | media-sound/gsm/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/gsm/files/digest-gsm-1.0.10-r1 | 3 | ||||
-rw-r--r-- | media-sound/gsm/gsm-1.0.10-r1.ebuild | 36 |
3 files changed, 45 insertions, 1 deletions
diff --git a/media-sound/gsm/ChangeLog b/media-sound/gsm/ChangeLog index fea4e8e494e5..989a3be8e736 100644 --- a/media-sound/gsm/ChangeLog +++ b/media-sound/gsm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/gsm # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.14 2007/02/22 01:02:45 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.15 2007/03/09 03:17:53 beandog Exp $ + +*gsm-1.0.10-r1 (09 Mar 2007) + + 09 Mar 2007; Steve Dibb <beandog@gentoo.org> +gsm-1.0.10-r1.ebuild: + Compile issues, apply amd64 patch, bug 138908 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/media-sound/gsm/files/digest-gsm-1.0.10-r1 b/media-sound/gsm/files/digest-gsm-1.0.10-r1 new file mode 100644 index 000000000000..b9697fed4567 --- /dev/null +++ b/media-sound/gsm/files/digest-gsm-1.0.10-r1 @@ -0,0 +1,3 @@ +MD5 4b148480f82e96d274248e13880ec873 gsm-1.0.10.tar.gz 65928 +RMD160 334f93ab232c0b5c1b3090ffa551af0ee0455ed0 gsm-1.0.10.tar.gz 65928 +SHA256 ddab700db455e13bcf9bc0592b320e61c6a7c692fb3cef7881b14b2df1a39069 gsm-1.0.10.tar.gz 65928 diff --git a/media-sound/gsm/gsm-1.0.10-r1.ebuild b/media-sound/gsm/gsm-1.0.10-r1.ebuild new file mode 100644 index 000000000000..6b1a61c341e9 --- /dev/null +++ b/media-sound/gsm/gsm-1.0.10-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/gsm-1.0.10-r1.ebuild,v 1.1 2007/03/09 03:17:53 beandog Exp $ + +IUSE="" + +inherit eutils versionator toolchain-funcs + +S="${WORKDIR}/${PN}-$(replace_version_separator 2 '-pl' )" +DESCRIPTION="Lossy speech compression library and tool." +HOMEPAGE="http://kbs.cs.tu-berlin.de/~jutta/toast.html" +SRC_URI="ftp://ftp.cs.tu-berlin.de/pub/local/kbs/tubmik/gsm/${P}.tar.gz" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +SLOT="0" +LICENSE="OSI-Approved" + +src_unpack() { + unpack ${A} + cd ${S} + use amd64 && epatch ${FILESDIR}/${P}-amd64.diff +} + +src_compile() { + emake CC="$(tc-getCC)" WAV49="-DWAV49" CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" || die +} + +src_install() { + dodir /usr/bin /usr/lib /usr/include /usr/share/man/man{1,3} + make INSTALL_ROOT="${D}/usr" \ + GSM_INSTALL_INC="${D}/usr/include" \ + GSM_INSTALL_MAN="${D}/usr/share/man/man3" \ + TOAST_INSTALL_MAN="${D}/usr/share/man/man1" \ + install || die + + dodoc ChangeLog* MACHINES MANIFEST README +} |