Magellan Linux

Annotation of /branches/magellan-0_10_0/todo/dvd+rw-tools/dvd+rw-tools-7.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3000 - (hide annotations) (download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 8 months ago) by niro
File size: 1044 byte(s)
created branch 'magellan-0_10_0'
1 niro 2 # $Header: /magellan-cvs/smage/dvd+rw-tools/dvd+rw-tools-7.1-r1.smage2,v 1.2 2008/03/28 09:55:26 niro Exp $
2    
3     PNAME="dvd+rw-tools"
4     PVER="7.1"
5     PBUILD="r1"
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     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     cd ${SRCDIR}
31    
32     # fix builds with gcc42 and gcc43
33     mpatch ${PNAME}-${PVER}-gcc43.patch || die
34    
35     # force use of our CFLAGS
36     sed -i -e "s:^CFLAGS=\$(WARN).*:CFLAGS=${CFLAGS}:" \
37     -e "s:^CXXFLAGS=\$(WARN).*:CXXFLAGS=${CXXFLAGS} -fno-exceptions:" \
38     Makefile.m4 || die
39     }
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44     mmake || die
45     }
46    
47     src_install()
48     {
49     cd ${SRCDIR}
50     minstall || die
51     minstalldocs index.html || die
52     }

Properties

Name Value
svn:keywords Id