aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mono/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-25 19:10:11 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-25 19:10:17 +0200
commitfdbca71c9ef4f2eff5acef51a59c61c06e67d71f (patch)
tree120a1186b825b57ade5bd71355ecdf9e99945794 /testing/mono/APKBUILD
parent881715a627e02c68c68e39b48b9a3b9e708e7a40 (diff)
downloadaports-fdbca71c9ef4f2eff5acef51a59c61c06e67d71f.tar.bz2
aports-fdbca71c9ef4f2eff5acef51a59c61c06e67d71f.tar.xz
testing/mono: new aport
Diffstat (limited to 'testing/mono/APKBUILD')
-rw-r--r--testing/mono/APKBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/testing/mono/APKBUILD b/testing/mono/APKBUILD
new file mode 100644
index 0000000000..d9d7951dc6
--- /dev/null
+++ b/testing/mono/APKBUILD
@@ -0,0 +1,61 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=mono
+pkgver=3.12.1
+pkgrel=0
+pkgdesc="Free implementation of the .NET platform including runtime and compiler"
+url="http://www.mono-project.com/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="zlib-dev libgdiplus-dev"
+makedepends="$depends_dev python linux-headers autoconf automake libtool"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://download.mono-project.com/sources/mono/mono-$pkgver.tar.bz2
+ musl-fix.patch"
+
+_builddir="$srcdir"/mono-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./autogen.sh \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-nls \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin \
+ --disable-quiet-build \
+ --disable-system-aot \
+ --disable-static \
+ --with-mcs-docs=no \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="ccab015f0c54ffeccd2924b44885809c mono-3.12.1.tar.bz2
+493f2a7df6d05f3513e5823e6ce32b87 musl-fix.patch"
+sha256sums="5d8cf153af2948c06bc9fbf5088f6834868e4db8e5f41c7cff76da173732b60d mono-3.12.1.tar.bz2
+a51ed2b5fb533794dd5ac36a40e5db08dfa2fd142fe944dc81293b3ec59b0627 musl-fix.patch"
+sha512sums="7ff87d95c347186347dc7a9ffb767112717de2b808f8f1b612c56c9eb70fdcc0c8f586989be44444509a2768e71854d8195567196c992cc2c5b184ecbe5ac190 mono-3.12.1.tar.bz2
+772740bb7a070b299dd4edac30e859588c566ed83f937f087ea2eb1e72c5ecc75fabff3f49900a5c1fb7b059404cb31c9ce3528c2614f7142d66f98ae2c3e9de musl-fix.patch"