aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: 002158d7565a74a21908de7c131bdbd5d32bb369 (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.5.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
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="937a2534abae642bce8734baaa1b27ed  libsigc++-2.5.1.tar.xz"
sha256sums="969c37be81714e49c8cd35dbfb48f40f849961ca5468f883169db95bb5b7a36e  libsigc++-2.5.1.tar.xz"
sha512sums="4e7bd9f668ee5c29af9617eaff11a8918be63329663013cbb3b440b9113b3a06bc7abcefb4021b46bcf0ccd37a2a2ea6623ea71f1d97df5d98a91794e4131106  libsigc++-2.5.1.tar.xz"