1 DESCRIPTION
= "Lexical analyzer generator for Java"
2 AUTHOR
= "Elliot Berk, A. Appel, C. Scott Ananian"
4 DEPENDS
= "virtual/javac-native fastjar-native"
5 RDEPENDS
= "java2-runtime"
10 http://www.cs.princeton.edu/~appel/modern/java/CUP/java_${BPN}_v10k.tar.gz \
14 S
= "${WORKDIR}/java_cup"
18 -e
"s|OE_STAGING_BINDIR|${bindir}|" \
19 -e
"s|OE_STAGING_DATADIR_JAVA|${data_java}|" \
20 -e
"s|OE_CUP_JAR|${BP}.jar|" \
27 javac
-d build `find .
-name
"*.java"`
29 fastjar
-C build
-c
-f $
{BP
}.jar .
33 install
-d $
{D
}$
{bindir
}
34 install
-m
0755 $
{WORKDIR
}/cup $
{D
}$
{bindir
}
39 FILES_$
{PN
} += "${datadir_java}"