aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: 3bf2b8a902acd6cd3cf4ac5020c5484138fa3032 (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=libsigc++
pkgver=2.5.2
pkgrel=0
pkgdesc="type-safe Signal Framework for C++"
url="http://libsigc.sourceforge.net/"
arch="all"
license="LGPL"
depends=
makedepends="m4 perl tar"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="dfa12d53e4603504701866c256df84eb  libsigc++-2.5.2.tar.xz"
sha256sums="b7b230b38692bb9a6e6a90e10e2e62cd89a3f1a496af09a899480640724f009d  libsigc++-2.5.2.tar.xz"
sha512sums="88d58388b3855faaa4c69d7e58ae510ce6f1f7f052ad34fd1306ce749df082950daad655783299b30925da884f96b3d0b0611cdb8c013459348129f9f531c163  libsigc++-2.5.2.tar.xz"