aboutsummaryrefslogtreecommitdiffstats
path: root/unstable/erlang/APKBUILD
blob: 97a60746db1566117955a5cf1ee11a0c1e54206c (plain) (blame)
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
# 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"