Annotation of /trunk/extras/pyvorbis/pyvorbis-1.4-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1008 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1008 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/pyvorbis/pyvorbis-1.4-r2.smage2,v 1.1 2008/02/12 10:45:52 niro Exp $ |
2 | |||
3 | PNAME="pyvorbis" | ||
4 | PVER="1.4" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="dev-python" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Python bindings for the vorbis library." | ||
11 | HOMEPAGE="http://ekyo.nerim.net/software/pyogg/" | ||
12 | |||
13 | DEPEND=">= dev-lang/python-2.5 | ||
14 | >= media-libs/libogg-1.1 | ||
15 | >= media-libs/libvorbis-1.2 | ||
16 | >= dev-python/pyogg-1.3" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude python | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://ekyo.nerim.net/software/pyogg/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${PNAME}-${PVER}-python25.patch | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-file-descriptor.patch | ||
28 | ) | ||
29 | |||
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | # python-2.5 fixes | ||
36 | mpatch ${PNAME}-${PVER}-python25.patch || die | ||
37 | # do not close a previously closed file descriptor | ||
38 | mpatch ${PNAME}-${PVER}-file-descriptor.patch || die | ||
39 | } | ||
40 | src_compile() | ||
41 | { | ||
42 | cd ${SRCDIR} | ||
43 | python config_unix.py || die | ||
44 | python_src_compile | ||
45 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |