blob: 018c9b2d177e88d2062c83d540ff8659593f797a (
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=gtkmm
pkgver=2.24.4
pkgrel=3
pkgdesc="C++ wrappers for GTK+"
url="http://gtkmm.sourceforge.net/"
arch="all"
license="LGPL"
depends=""
depends_dev="atkmm-dev gtk+2.0-dev glibmm-dev pangomm-dev"
makedepends="$depends_dev intltool"
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
CXXFLAGS="$CXXFLAGS -std=c++11" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
}
md5sums="b9ac60c90959a71095f07f84dd39961d gtkmm-2.24.4.tar.xz"
sha256sums="443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee gtkmm-2.24.4.tar.xz"
sha512sums="75d8c7a7c32adb33a9867b36877422bce52d8486d66be5aaa2afe1eee439efc2ba09aab7d06b9986d74879103415062c5386d5354aff6d44a63b2ba2d75f7c89 gtkmm-2.24.4.tar.xz"
|