aboutsummaryrefslogtreecommitdiffstats
path: root/main/slibtool/APKBUILD
blob: 5c42cb6ce29e948fa10ba44fc2c4778a6aaf20e0 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=slibtool
pkgver=0.5.17
pkgrel=0
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
}

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

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