summaryrefslogblamecommitdiff
path: root/user/slang/APKBUILD
blob: a3b93346c97e4975500f906ab429e8436ce10198 (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.3
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="f882f09e3fcd53427de0f233c9fc3ab15497f2323007be9a084696c8cf810ffe2726cd003149e757df26198b390b9f8c1ff411dc6473513457bd0f94722f8490  slang-2.3.3.tar.bz2"