summaryrefslogtreecommitdiffstats
path: root/extra/dialog/APKBUILD
blob: 99619e31cff9f5a187ae632dd6ae207e3189ff1e (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dialog
pkgver=1.1.20080819
_ver=${pkgver%.*}-${pkgver##*.}
pkgrel=0
pkgdesc="A script-interpreter which provides a set of curses"
url="http://invisible-island.net/dialog/dialog.html"
license="GPL"
depends="uclibc ncurses"
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="ftp://invisible-island.net/dialog/$pkgname.tar.gz"

build() {
	cd "$srcdir/$pkgname-$_ver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="3caebd641a9f337b980becb4444336c5  dialog.tar.gz"