21 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
22 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 |
|
|
24 |
sminclude mtools |
sminclude mtools mbuild |
25 |
|
|
26 |
SRC_URI=( |
SRC_URI=( |
27 |
sourceforge://gphoto/${SRCFILE} |
sourceforge://gphoto/${SRCFILE} |
28 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
mirror://${PNAME}/${PNAME}-2.4.0-rpm.patch |
|
29 |
) |
) |
30 |
|
|
31 |
UP2DATE="updatecmd_sourceforge gphoto ${PNAME/2/}" |
UP2DATE="updatecmd_sourceforge gphoto ${PNAME/2/}" |
32 |
|
|
|
src_prepare() |
|
|
{ |
|
|
munpack ${SRCFILE} || die |
|
|
cd ${SRCDIR} |
|
|
|
|
|
# avoid rpm build |
|
|
mpatch ${PNAME}-2.4.0-rpm.patch || die |
|
|
} |
|
|
|
|
33 |
src_compile() |
src_compile() |
34 |
{ |
{ |
35 |
cd ${SRCDIR} |
cd ${SRCDIR} |