diff options
-rw-r--r-- | unstable/erlang/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/unstable/erlang/APKBUILD b/unstable/erlang/APKBUILD new file mode 100644 index 000000000..97a60746d --- /dev/null +++ b/unstable/erlang/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Michael Mason <ms13sp@gmail.com> +pkgname=erlang +pkgver=13A +pkgrel=0 +pkgdesc="Erlang programming language" +url="http://www.erlang.org/" +license="GPL" +depends="uclibc perl" +makedepends="perl-dev" +install= +subpackages="$pkgname-doc $pkgname-dev" +source="http://www.erlang.org/download/otp_src_R$pkgver.tar.gz" + +build() { + cd "$srcdir/otp_src_R$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR="$pkgdir" install + + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="76804ff9c18710184cf0c0230a0443fc otp_src_R13A.tar.gz" |