summaryrefslogtreecommitdiffstats
path: root/main/minicom/APKBUILD
blob: d9a6742f5a27859b2165df268d6c4bb037944fd5 (plain)
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
30
31
32
33
34
35
36
37
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=minicom
pkgver=2.6.2
pkgrel=0
pkgdesc="menu driven communications program for terminals"
url="http://alioth.debian.org/projects/minicom"
arch="all"
license="GPL2+"
depends=""
makedepends="ncurses-dev libiconv-dev gettext-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://alioth.debian.org/frs/download.php/3869/minicom-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="203c56c4b447f45e2301b0cc4e83da3c  minicom-2.6.2.tar.gz"
sha256sums="f3cf215f7914ffa5528e398962176102ad74df27ba38958142f56aa6d15c9168  minicom-2.6.2.tar.gz"
sha512sums="fa5d9de94707d6ab8cc647b35ab6ed00457abb85a2dd07e4853dd88381757d67c603e290f961bb24deb9a11ac0fc2e58cffcc67a6624571e3dd490cb3e4d04a7  minicom-2.6.2.tar.gz"