updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / openmodelica / PKGBUILD
blob7eb85e32a91e3eb876876cc41aa01b2cfe6c2d41
1 # Contributor: George Giorgidze <giorgidze (at) gmail.com>
3 pkgname=openmodelica
4 pkgver=1.4.5
5 pkgrel=1
6 pkgdesc="The Open Source Modelica Compiler"
7 arch=('i686' 'x86_64')
8 url="http://www.ida.liu.se/labs/pelab/modelica/OpenModelica.html"
9 license=('custom')
10 groups=()
11 depends=('gcc-libs' 'bash')
12 makedepends=('antlr' 'rml' 'openjdk6')
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=
20 source=(http://openmodelica.ida.liu.se:8080/cb/displayDocument/${pkgname}_${pkgver}.orig.tar.gz?doc_id=1318)
21 noextract=()
22 md5sums=('359a5a601152b2e101273401786416f0')
24 build() {
25   cd "${srcdir}/${pkgname}-${pkgver}+svn3828"
26   RMLHOME="/opt/rml" ANTLRHOME="/usr" CLASSPATH="/usr/share/java/antlr.jar" ./configure --prefix=/opt/openmodelica --without-CORBA --without-MODPAR --without-BOOST
27   CLASSPATH="/usr/share/java/antlr.jar" make omc
28   make prefix="${pkgdir}/opt/openmodelica/" install
29   install -D -m644 'OSMC-License.txt' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
30   rm ${pkgdir}/opt/openmodelica/lib/*mingw.a