blob: e09c93717a5f0f08e413672d484313fbaa7e0aa8 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glibmm
pkgver=2.36.2
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="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
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/
}
md5sums="5c96d566c22c209d7b9cbf2344c469e9 glibmm-2.36.2.tar.xz"
sha256sums="f15b65bf5740257be03c69f2f5ae71436ac3011ebeb02274b2b99b796c6837cf glibmm-2.36.2.tar.xz"
sha512sums="afbbdb7c2001183e0c61a3a41b864aff0400a162067f945c1abcf7ac1b514c00993e0216fbfd5fa82d12045289bd584146853b557be7f6a2f94336c96d9e6d68 glibmm-2.36.2.tar.xz"
|