aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: 8df992c7e0e2f4b931bc61ce8ef499d5afe53858 (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.8.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
}

md5sums="3d26acbc813fa54edd4401ce1a981677  libsigc++-2.8.0.tar.xz"
sha256sums="774980d027c52947cb9ee4fac6ffe2ca60cc2f753068a89dfd281c83dbff9651  libsigc++-2.8.0.tar.xz"
sha512sums="d1fdf53c30d2ceab66c97ad78ff57ad372e8e16e3843021e62793ebbfad3002fed0222b6de941db2dfbe7ab30b9fc1d34cf84e8eef786f572d446acdd516167b  libsigc++-2.8.0.tar.xz"