aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-10-15 15:27:47 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-10-15 20:57:32 +0200
commit37f7b6f5ae1f6efbaa4abd6b72fa5d53adca4cce (patch)
tree402adbfb0eff3fa005890976e351d6ea87f17fd4
parentb166ad2bd44caffcf15db1dcc946fe1ce18ee47c (diff)
downloadaports-37f7b6f5ae1f6efbaa4abd6b72fa5d53adca4cce.tar.bz2
aports-37f7b6f5ae1f6efbaa4abd6b72fa5d53adca4cce.tar.xz
testing/systemc: new aport
-rw-r--r--testing/systemc/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/systemc/APKBUILD b/testing/systemc/APKBUILD
new file mode 100644
index 0000000000..de5614de3b
--- /dev/null
+++ b/testing/systemc/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=systemc
+pkgver=2.3.2
+pkgrel=0
+pkgdesc="C++ library for modeling and describing complex hardware systems"
+url="http://www.accellera.org/downloads/standards/systemc"
+arch="all"
+license="Apache-2.0"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://www.accellera.org/images/downloads/standards/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver/objdir"
+
+prepare() {
+ mkdir -p "$builddir"
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ../configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --with-unix-layout=yes
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="050e99a50997a6a9594d6083d1d990540026fa4ab5985ec2923602c40cc4f55a2b099cd71b681ba52e5ed745ce016133244d0dc061b79676804c3c07568e60e9 systemc-2.3.2.tar.gz"