aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: 2ff16d5e24c9dbf689e06e963f2103986d6ee185 (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.3.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/2.3/$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="e75fbd6f5cc34d058a9dabec96245dc8  libsigc++-2.3.2.tar.xz"
sha256sums="f0305bb6d2185de1513b35843f3d4a85abfec7c969034140d56cf14ce70aa411  libsigc++-2.3.2.tar.xz"
sha512sums="e62f221944c635881e14370810d3fce1c980ae7388ee43a30a3ccaec5bc320bc4bb03c9c5a438cacba26cab923f3df36408406fca9ba0bb37f29f1b69d885c04  libsigc++-2.3.2.tar.xz"