aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: 788129b946dc542fb959e9acbd6178a40a990bb9 (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=libsigc++
pkgver=2.9.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/${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
}

md5sums="7434b5381df20b871fe1843c63cc6304  libsigc++-2.9.1.tar.xz"
sha256sums="fe3e0390b2c1c60b2d7fa00e3459696735689628410d369ab8cba854f471fe9a  libsigc++-2.9.1.tar.xz"
sha512sums="c9a7382d41eb5d67b0326f996e6f43682baba8fa5e707b442eb977d7b3ad860da5cf30a845617ef672cce11626c48ba191171e62ceaa82c8bda4bc67bcc0ba66  libsigc++-2.9.1.tar.xz"