20 |
|
|
21 |
SRC_URI=( |
SRC_URI=( |
22 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
23 |
|
mirror://${PNAME}/${PNAME}-${PVER}-magequery-ignore-mage-files.patch |
24 |
) |
) |
25 |
|
|
26 |
src_prepare() |
src_prepare() |
27 |
{ |
{ |
28 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
29 |
|
cd ${SRCDIR} |
30 |
|
|
31 |
|
# fix magequery |
32 |
|
mpatch ${PNAME}-${PVER}-magequery-ignore-mage-files.patch || die |
33 |
} |
} |
34 |
|
|
35 |
src_install() |
src_install() |
41 |
echo "${PVER}-${PBUILD}" > ${BINDIR}/usr/lib/mage/version || die |
echo "${PVER}-${PBUILD}" > ${BINDIR}/usr/lib/mage/version || die |
42 |
} |
} |
43 |
|
|
44 |
|
preinstall() |
45 |
|
{ |
46 |
|
add_conf_prot_mask /etc/mage.rc.example /etc/etc-update.conf |
47 |
|
} |
48 |
|
|
49 |
postinstall() |
postinstall() |
50 |
{ |
{ |
51 |
local PVER |
local PVER |