summaryrefslogtreecommitdiffstats
path: root/main/minicom/APKBUILD
blob: 75faf520a6510f8106c7d13c0b9edc43dbae7e54 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=minicom
pkgver=2.6.1
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/3700/minicom-2.6.1.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--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="435fb410a5bfa9bb20d4248b3ca53529  minicom-2.6.1.tar.gz"