aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: 3d9e3fc6f0ca1d2a460a6cb0c1d5e8e8e5c517ac (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
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsigc++
pkgver=2.3.1
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/2.3/$pkgname-$pkgver.tar.xz"

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

prepare() {
	cd "$_builddir"
	update_config_sub 
}

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="06a0569e8ba161d3428e7daa838682f8  libsigc++-2.3.1.tar.xz"
sha256sums="67d05852b31fdb267c9fdcecd40b046a11aa54d884435e99e3c60dd20cd60393  libsigc++-2.3.1.tar.xz"
sha512sums="8c9aa63c56e978ec3e38fda9919ffbba173b97342d0e19d0ae3126e9edb97aa1d42e79897a65b054044e87604f67f1f804db8d7a8e3dc68540b1441188b8a1ef  libsigc++-2.3.1.tar.xz"