blob: 21eda19dd20e2f4e3be0086f88a60ce30528a6ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id: PKGBUILD 74820 2012-08-06 09:08:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Neil Darlow <neil@darlow.co.uk>
# Contributor: Jens Maucher <defcon@archlinux.us>
pkgname=freehdl
pkgver=0.0.8
pkgrel=4
pkgdesc='An open-source (C++ generating) VHDL simulator'
arch=('i686' 'x86_64')
url='http://freehdl.seul.org'
license=('GPL')
depends=('perl')
optdepends=('gtkwave: to view output when run standalone')
options=('!libtool')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/qucs/$pkgname-$pkgver.tar.gz")
md5sums=('aa1382b8b5c6a972e9652c648a9278b5')
build() {
cd "${srcdir}"/$pkgname-$pkgver
sed -i 's|my $cpplibs = .*|my $cpplibs = "-lm -lfreehdl-kernel -lfreehdl-std";|g' v2cc/gvhdl-local v2cc/gvhdl.in
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}
|