diff options
author | Curt Tilmes <curt@tilmes.org> | 2018-02-20 09:26:19 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-27 21:20:57 +0000 |
commit | 6f33fb4651d968f69abbdd4303ff7a425e296316 (patch) | |
tree | 1dc48d7918089f05c973cfe81be5b0d7cd18e53d /testing/moarvm | |
parent | 0ffa38bc9e7fee95689002f2cf9f2c12d40c5a41 (diff) | |
download | aports-6f33fb4651d968f69abbdd4303ff7a425e296316.tar.bz2 aports-6f33fb4651d968f69abbdd4303ff7a425e296316.tar.xz |
testing/rakudo: new aport
http://rakudo.org/
A compiler for the Perl 6 programming language
Diffstat (limited to 'testing/moarvm')
-rw-r--r-- | testing/moarvm/APKBUILD | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/testing/moarvm/APKBUILD b/testing/moarvm/APKBUILD index 5b53fa3749..9c9dd23947 100644 --- a/testing/moarvm/APKBUILD +++ b/testing/moarvm/APKBUILD @@ -8,48 +8,48 @@ url="http://moarvm.org/" arch="all" license="Artistic-2.0" depends="" -makedepends="perl gcc musl-dev make" +makedepends="perl libffi-dev" install="" subpackages="$pkgname-dev $pkgname-doc" -source="${pkgname}-${pkgver}.tar.gz::http://moarvm.org/releases/MoarVM-$pkgver.tar.gz" +source="http://moarvm.org/releases/MoarVM-$pkgver.tar.gz" builddir="$srcdir"/MoarVM-"$pkgver" build() { cd "$builddir" - unset CPPFLAGS CFLAGS - perl Configure.pl --prefix=/usr - make + unset CPPFLAGS CFLAGS + perl Configure.pl --prefix=/usr --has-libffi + make } check() { - cd "$builddir" - LD_LIBRARY_PATH=. ./moar --version + cd "$builddir" + LD_LIBRARY_PATH=. ./moar --version } package() { cd "$builddir" - install -Dm755 moar "$pkgdir"/usr/bin/moar - install -Dm755 libmoar.so "$pkgdir"/usr/lib/libmoar.so + install -Dm755 moar "$pkgdir"/usr/bin/moar + install -Dm755 libmoar.so "$pkgdir"/usr/lib/libmoar.so } dev() { - cd "$builddir" - make DESTDIR="$builddir"/install install - for file in $(find install/usr/include/ -type f); do - install -Dm644 ${file} "$subpkgdir"/usr/include/moar/${file#install/usr/include} - done - for file in $(find install/usr/share/nqp -type f); do - install -Dm644 ${file} "$subpkgdir"/usr/share/nqp/${file#install/usr/share/nqp} - done - install -Dm644 install/usr/share/pkgconfig/moar.pc "$subpkgdir"/usr/share/pkgconfig/moar.pc + cd "$builddir" + make DESTDIR="$builddir"/install install + for file in $(find install/usr/include/ -type f); do + install -Dm644 ${file} "$subpkgdir"/usr/include/moar/${file#install/usr/include} + done + for file in $(find install/usr/share/nqp -type f); do + install -Dm644 ${file} "$subpkgdir"/usr/share/nqp/${file#install/usr/share/nqp} + done + install -Dm644 install/usr/share/pkgconfig/moar.pc "$subpkgdir"/usr/share/pkgconfig/moar.pc } doc() { - cd "$builddir" - mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname" - for file in Artistic2.txt CREDITS LICENSE MANIFEST README.markdown VERSION docs; do - cp -r $file "$subpkgdir"/usr/share/doc/"$pkgname" - done + cd "$builddir" + mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname" + for file in Artistic2.txt CREDITS LICENSE MANIFEST README.markdown VERSION docs; do + cp -r $file "$subpkgdir"/usr/share/doc/"$pkgname" + done } -sha512sums="3364a1af68b828de30affa4c21fe691d10353175cc18e815f962f8dcafb63947ce3fd3ae5c10c656b90f4cb02f3fd008a9a99f832d76098c12525b36e46924d0 moarvm-2018.02.tar.gz" +sha512sums="3364a1af68b828de30affa4c21fe691d10353175cc18e815f962f8dcafb63947ce3fd3ae5c10c656b90f4cb02f3fd008a9a99f832d76098c12525b36e46924d0 MoarVM-2018.02.tar.gz" |