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

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

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

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

sha512sums="d5847e7f4ca63c44e6ee58d7ceacc409a684e33a290f6888fdbc398303183b9ce9ae94d86b0270db865eafae2deb0681c6ecdd7d472cff7ad4d2d99a7457bdac  slibtool-0.5.17.tar.xz"