aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: b00a7968ae9593908218662bf307001a7e8f408d (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.4.0
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="c6cd2259f5ef973e4c8178d0abbdbfa7  libsigc++-2.4.0.tar.xz"
sha256sums="7593d5fa9187bbad7c6868dce375ce3079a805f3f1e74236143bceb15a37cd30  libsigc++-2.4.0.tar.xz"
sha512sums="b5024768d249ae04ce9090ea3467dca05faf455ab568204da1a8e5ba728b5c45bf345b8516bfa4643afdee4c5981bb8b560800ac0960e4a239c0a66a2453c984  libsigc++-2.4.0.tar.xz"