aboutsummaryrefslogtreecommitdiffstats
path: root/community/tclap/APKBUILD
blob: c86a6e3e537b9e2679dbc202c850549e213302e9 (plain) (blame)
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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tclap
pkgver=1.2.1
pkgrel=0
pkgdesc="Templatized C++ Command Line Parser"
url="http://tclap.sourceforge.net"
arch="noarch"
license="MIT"
subpackages="$pkgname-dev"
source="https://sourceforge.net/projects/tclap/files/$pkgname-$pkgver.tar.gz
	skip-docs.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		&& make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="8bd6ee724600880840048c7b36f02d31b1aa4910b17f80fb04aef89b1f1917856d9979ec488edbd457b66d9d689aea97540abb842a8b902bbd75c66a6e07b9b1  tclap-1.2.1.tar.gz
d88b298d5de2c1e8b628babc75b0a075b1c359c76b67d068e233e248c3b08dc7374865c1e725e4945fa900647d7bbf80cdaf7cbef2f198813ffa69844d04ee0b  skip-docs.patch"