Magellan Linux

Contents of /trunk/extras/dvd+rw-tools/dvd+rw-tools-7.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4146 - (show annotations) (download)
Thu Nov 26 11:44:13 2009 UTC (14 years, 5 months ago) by niro
File size: 1056 byte(s)
auto added: ver bump to 7.1-r2
1 # $Id$
2
3 PNAME="dvd+rw-tools"
4 PVER="7.1"
5 PBUILD="r2"
6
7 PCATEGORIE="app-cdr"
8 STATE="unstable"
9
10 DESCRIPTION="A set of tools for DVD+RW/-RW drives."
11 HOMEPAGE="http://fy.chalmers.se/~appro/linux/DVD+RW/"
12
13 DEPEND=">= virtual/glibc
14 >= app-cdr/cdrtools-2"
15
16 SDEPEND=">= sys-apps/sed-4"
17
18 SRCFILE="${PNAME}-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 SRC_URI=(
22 http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
25 )
26
27 UP2DATE="updatecmd 'http://fy.chalmers.se/~appro/linux/DVD+RW/tools/?C=M;O=A' | grep ${PNAME} | lasttarball gz"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # fix builds with gcc42 and gcc43
35 mpatch ${PNAME}-${PVER}-gcc43.patch || die
36
37 # force use of our CFLAGS
38 sed -i -e "s:^CFLAGS=\$(WARN).*:CFLAGS=${CFLAGS}:" \
39 -e "s:^CXXFLAGS=\$(WARN).*:CXXFLAGS=${CXXFLAGS} -fno-exceptions:" \
40 Makefile.m4 || die
41 }
42
43 src_compile()
44 {
45 cd ${SRCDIR}
46 mmake || die
47 }
48
49 src_install()
50 {
51 cd ${SRCDIR}
52 minstall || die
53 minstalldocs index.html || die
54 }

Properties

Name Value
svn:keywords Id