aboutsummaryrefslogtreecommitdiffstats
path: root/main/slibtool/APKBUILD
blob: b89387f2c08130385a3d5e593c092f133605ce08 (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.25
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="6fb7edd8b8d13c7eb6559e214f8cf78e04f27e6f19ead166a932c960f664f148ac6f34666c7e48635c2abee3d14734b4803783b51e23919f6afab933bacbb74d  slibtool-0.5.25.tar.xz"