Magellan Linux

Annotation of /trunk/todo/bin2iso/bin2iso-1-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2194 - (hide annotations) (download)
Thu Jul 9 19:16:20 2009 UTC (14 years, 11 months ago) by niro
File size: 782 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/bin2iso/bin2iso-1-r5.smage2,v 1.1 2008/04/20 21:50:43 niro Exp $
2    
3     PNAME="bin2iso"
4     PVER="1"
5     PBUILD="r5"
6    
7     PCATEGORIE="app-cdr"
8     STATE="unstable"
9    
10     DESCRIPTION="Converts .bin images to .iso images."
11     HOMEPAGE="http://mange.dynup.net/linux/bin2iso/"
12    
13     DEPEND=">= virtual/glibc"
14    
15     SRCFILE="bin2iso.c"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mtools
19    
20     SRC_URI=(
21     mirror://${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${PNAME}-0.4-update.patch
23     )
24    
25     src_prepare()
26     {
27     install -d ${SRCDIR}
28     cd ${SRCDIR}
29    
30     # apply upstream fixes
31     cp ${SOURCEDIR}/${PNAME}/${SRCFILE} . || die
32     mpatch ${PNAME}-0.4-update.patch || die
33     }
34    
35     src_compile()
36     {
37     cd ${SRCDIR}
38     gcc ${CFLAGS} ${SRCFILE} -o ${SRCDIR}/bin2iso || die
39     }
40    
41     src_install()
42     {
43     cd ${SRCDIR}
44     minstallexec bin2iso || die
45     }

Properties

Name Value
svn:keywords Id