aboutsummaryrefslogtreecommitdiffstats
path: root/main/slibtool/APKBUILD
blob: 4ae2609107bb2c4596b4aca16ac0151fb3dc207f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=slibtool
pkgver=0.5.26
pkgrel=0
pkgdesc="Surrogate libtool implementation written in C"
url="https://git.midipix.org/cgit.cgi/slibtool"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages=""
source="https://midipix.org/dl/slibtool/$pkgname-$pkgver.tar.xz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	cd "$builddir"
	./bin/slibtool --version
}

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

sha512sums="fd7994aa09c69701052f0622f7df073265a8d67fd187e6621510ab7dcb9605337a65904dc9a7e2ca143f3947b5bfc2be73968bff420da2c42dfe28122e480cef  slibtool-0.5.26.tar.xz"