Annotation of /trunk/extras/libmikmod/libmikmod-3.1.11-r8.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: 1102 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1102 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/libmikmod/libmikmod-3.1.11-r8.smage2,v 1.1 2008/04/03 20:13:44 niro Exp $ |
2 | |||
3 | PNAME="libmikmod" | ||
4 | PVER="3.1.11" | ||
5 | PBUILD="r8" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Mikmod is a module player and library supporting many formats, including mod, s3m, it, and xm." | ||
11 | HOMEPAGE="http://mikmod.raphnet.net/" | ||
12 | |||
13 | DEPEND=">= media-libs/audiofile-0.2.6 | ||
14 | >= media-libs/alsa-lib-1.0.16" | ||
15 | |||
16 | SDEPEND=">= media-sound/esound-0.2.38" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude mbuild multilib | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://mikmod.raphnet.net/files/${SRCFILE} | ||
25 | http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-a.diff | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-respectflags.patch | ||
29 | ) | ||
30 | |||
31 | src_prepare() | ||
32 | { | ||
33 | munpack ${SRCFILE} || die | ||
34 | cd ${SRCDIR} | ||
35 | |||
36 | # official update | ||
37 | mpatch ${PNAME}-${PVER}-a.diff || die | ||
38 | |||
39 | # respect ldflags | ||
40 | mpatch ${PNAME}-${PVER}-respectflags.patch || die | ||
41 | } | ||
42 | |||
43 | src_compile() | ||
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | mconfigure --enable-af --enable-alsa --enable-esd --enable-oss || die | ||
48 | mmake || die | ||
49 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |