summaryrefslogblamecommitdiff
path: root/user/slang/APKBUILD
blob: 430996243ccb8be9566824c6044f3b5d864fbdc8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                  
                               









                                                                     



                                          











                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=slang
pkgver=2.3.2
pkgrel=0
pkgdesc="Library for display and input management"
url="http://www.jedsoft.org/slang/"
arch="all"
license="GPL-2.0+ AND NTP"
depends=""
makedepends="pcre-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.jedsoft.org/releases/slang/slang-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-zlib=/ \
		--with-zinc=/usr/include \
		--with-pcre=/usr
	make -j1
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" -j1 install
}

sha512sums="35cdfe8af66dac62ee89cca60fa87ddbd02cae63b30d5c0e3786e77b1893c45697ace4ac7e82d9832b8a9ac342560bc35997674846c5022341481013e76f74b5  slang-2.3.2.tar.bz2"