aboutsummaryrefslogtreecommitdiffstats
path: root/main/minicom/APKBUILD
blob: ff38b2afc2d269db31b79393a269b5b456ad63f2 (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
38
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=minicom
pkgver=2.7.1
pkgrel=0
pkgdesc="menu driven communications program for terminals"
url="https://alioth.debian.org/projects/minicom"
arch="all"
license="GPL2+"
depends=""
makedepends="ncurses-dev gettext-dev linux-headers"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://alioth.debian.org/frs/download.php/file/3977/minicom-$pkgver.tar.gz
	fix-includes.patch
	"

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
}

sha512sums="eb9679ac3a3d3585ea06c54407567898e50b981378656e7f8a241071c91054ff0928cc9023d2c79d1936588cdffa9426f4962b556e8daa1783add0c5ac59b5af  minicom-2.7.1.tar.gz
5acff3efb0b8b02333291722044d7c473bf19eec8a26e66c0e0f41895f3e3f071dff13515ec20f7ce17368732e3674f0a42b38602e61b04e9cd70e61012641ff  fix-includes.patch"