Annotation of /branches/R11-stable/extras/kdevelop-pg-qt/kdevelop-pg-qt-1.0.0-r2.smage2
Parent Directory | Revision Log
Revision 24047 -
(hide annotations)
(download)
Wed Feb 18 09:58:25 2015 UTC (9 years, 3 months ago) by niro
Original Path: trunk/extras/kdevelop-pg-qt/kdevelop-pg-qt-1.0.0-r2.smage2
File size: 629 byte(s)
Wed Feb 18 09:58:25 2015 UTC (9 years, 3 months ago) by niro
Original Path: trunk/extras/kdevelop-pg-qt/kdevelop-pg-qt-1.0.0-r2.smage2
File size: 629 byte(s)
-fix build with bison-2.5
1 | niro | 24046 | # $Id$ |
2 | |||
3 | PNAME="kdevelop-pg-qt" | ||
4 | PVER="1.0.0" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | DESCRIPTION="KDevelop Parser Generator, a LL(1) parser generator used by KDevelop language plugins." | ||
8 | |||
9 | DEPEND=">= kde-base/kdelibs-4.14" | ||
10 | |||
11 | sminclude kde4 | ||
12 | |||
13 | # unusual uri-scheme | ||
14 | SRC_URI=( | ||
15 | kde://${PNAME}/${PVER}/src/${SRCFILE} | ||
16 | mirror://${PNAME}/${SRCFILE} | ||
17 | niro | 24047 | mirror://${PNAME}/${PNAME}-${PVER}-bison25.patch |
18 | niro | 24046 | ) |
19 | |||
20 | UP2DATE="updatecmd -listonly http://download.kde.org/stable/${PNAME} | grep '${PNAME}/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'" | ||
21 | niro | 24047 | |
22 | src_prepare() | ||
23 | { | ||
24 | munpack ${SRCFILE} || die | ||
25 | cd ${SRCDIR} | ||
26 | |||
27 | # fix build with bison-2.5 | ||
28 | mpatch ${PNAME}-${PVER}-bison25.patch || die | ||
29 | } |