blob: 6ad87d07da87e9a7c182d8790afbb4be4e5beb12 (
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
39
40
41
42
43
44
45
46
47
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glibmm
pkgver=2.50.1
pkgrel=0
pkgdesc="C++ wrapper for the GLib toolkit"
url="http://gtkmm.sourceforge.net/"
arch="all"
license="LGPL"
depends=
makedepends="glib-dev libsigc++-dev"
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libsigc++-dev"
source="https://download.gnome.org/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
}
dev() {
mkdir -p "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/lib/glibmm-2.4 "$subpkgdir"/usr/lib/
default_dev
}
doc() {
default_doc
mkdir -p "$subpkgdir"/usr/share/
mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share/
}
sha512sums="4f25c75c1628ca2f4db1c29cebc63187d372603066b06aa6a66c6da792f9e02cb4a413e41f058a81e2d5a2b38d625de13df76115b278f010ce2fc493fe6e6bbb glibmm-2.50.1.tar.xz"
|